Skip to content

Commit

Permalink
emulationstation.sh: use gl2 and gles2 platform flags
Browse files Browse the repository at this point in the history
-use -DUSE_GL21=On if gl2 is set
-use -DUSE_GLES1=On if gles2 is not set
  • Loading branch information
gizmo98 committed Mar 28, 2023
1 parent 584ab58 commit f286ce8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scriptmodules/supplementary/emulationstation.sh
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,10 @@ function build_emulationstation() {
fi
elif isPlatform "gles"; then
params+=(-DGLES=On)
! isPlatform "gles2" && params+=(-DUSE_GLES1=On)
elif isPlatform "gl"; then
params+=(-DGL=On)
isPlatform "gl2" && params+=(-DUSE_GL21=On)
fi
if isPlatform "dispmanx"; then
params+=(-DOMX=On)
Expand Down

0 comments on commit f286ce8

Please sign in to comment.