File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed
scriptmodules/supplementary Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -166,16 +166,6 @@ function build_emulationstation() {
166166 isPlatform " mesa" && params+=(-DGL=On)
167167 # force GLESv1 on videocore due to performance issue with GLESv2
168168 isPlatform " videocore" && params+=(-DUSE_GLES1=On)
169- elif isPlatform " x11" ; then
170- if isPlatform " gles" ; then
171- params+=(-DGLES=On)
172- local gles_ver=$( sudo -u $user glxinfo -B | grep -oP ' Max GLES[23] profile version:\s\K.*' )
173- compareVersions $gles_ver lt 2.0 && params+=(-DUSE_GLES1=On)
174- else
175- params+=(-DGL=On)
176- local gl_ver=$( sudo -u $user glxinfo -B | grep -oP ' Max compat profile version:\s\K.*' )
177- compareVersions $gl_ver gt 2.0 && params+=(-DUSE_GL21=On)
178- fi
179169 elif isPlatform " gles" ; then
180170 params+=(-DGLES=On)
181171 ! isPlatform " gles2" && params+=(-DUSE_GLES1=On)
You can’t perform that action at this time.
0 commit comments