GPU support for OpenBSD

This commit is contained in:
Dylan 2016-05-06 03:39:28 +10:00
parent f28530b089
commit 21242e1fd8
1 changed files with 5 additions and 0 deletions

View File

@ -1162,6 +1162,11 @@ getgpu () {
gpu=${gpu/device*= } gpu=${gpu/device*= }
gpu=${gpu//\'} gpu=${gpu//\'}
;; ;;
"OpenBSD"*)
gpu=$(glxinfo | grep 'OpenGL renderer string')
gpu=${gpu/'OpenGL renderer string: '}
;;
esac esac
;; ;;