Skip to content

Commit 57d9a3a

Browse files
authored
Merge pull request #3547 from gizmo98/emulationstation_opengl21
emulationstation: fix OpenGL 2.1 for x11
2 parents 6181f27 + cf0b7e8 commit 57d9a3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scriptmodules/supplementary/emulationstation.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ function build_emulationstation() {
168168
isPlatform "videocore" && params+=(-DUSE_GLES1=On)
169169
elif isPlatform "x11"; then
170170
local gl_ver=$(sudo -u $user glxinfo | grep -oP "OpenGL version string: \K(\d+)")
171-
[[ "$gl_ver" -gt 1 ]] && params+=(-DUSE_OPENGL_21=On)
171+
[[ "$gl_ver" -gt 1 ]] && params+=(-DUSE_GL21=On)
172172
fi
173173
if isPlatform "dispmanx"; then
174174
params+=(-DOMX=On)

0 commit comments

Comments
 (0)