Skip to content

Commit 60f6874

Browse files
committed
emulationstation.sh: use gl2 and gles2 platform flags
-use -DUSE_GL21=On if gl2 is set -use -DUSE_GLES1=On if gles2 is not set
1 parent 658ef14 commit 60f6874

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scriptmodules/supplementary/emulationstation.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,8 +178,10 @@ function build_emulationstation() {
178178
fi
179179
elif isPlatform "gles"; then
180180
params+=(-DGLES=On)
181+
! isPlatform "gles2" && params+=(-DUSE_GLES1=On)
181182
elif isPlatform "gl"; then
182183
params+=(-DGL=On)
184+
isPlatform "gl2" && params+=(-DUSE_GL21=On)
183185
fi
184186
if isPlatform "dispmanx"; then
185187
params+=(-DOMX=On)

0 commit comments

Comments
 (0)