Skip to content

Commit 1cd6b0c

Browse files
committed
emulationstation.sh: remove deprecated gl version detection
1 parent f286ce8 commit 1cd6b0c

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

scriptmodules/supplementary/emulationstation.sh

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff 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)

0 commit comments

Comments
 (0)