Skip to content

Commit cf0b7e8

Browse files
authored
emulationstation: fix OpenGL 2.1 for x11
Add new build option for OpenGL 2.1 renderer on x11 platforms. https://github.com/RetroPie/EmulationStation/pull/795/files
1 parent 90d9cb1 commit cf0b7e8

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)