Merge pull request #461 from dylanaraps/gpu_fix

GPU: Fix wrong AMD GPU detected
This commit is contained in:
Dylan Araps 2016-11-29 06:21:06 +11:00 committed by GitHub
commit 5890e965b5

View file

@ -946,7 +946,6 @@ get_gpu() {
gpu="${gpu/'[AMD]' }" gpu="${gpu/'[AMD]' }"
gpu="${gpu/*\[}" gpu="${gpu/*\[}"
gpu="${gpu/\]*}" gpu="${gpu/\]*}"
gpu="${gpu/\/*}"
gpu="AMD $gpu" gpu="AMD $gpu"
;; ;;