GPU: Fix wrong AMD GPU detected

This commit is contained in:
Dylan Araps 2016-11-26 11:45:40 +11:00
parent 206b961ef3
commit e5aaeee653

View file

@ -932,7 +932,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"
;; ;;