Skip to content

Commit 20761e8

Browse files
dos1SiegeLord
authored andcommitted
force GLES profile in GLX with GLES build
1 parent 29ab67e commit 20761e8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/x/xdisplay.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,9 @@ static ALLEGRO_DISPLAY_XGLX *xdpy_create_display_locked(
316316
#ifdef ALLEGRO_CFG_OPENGLES2
317317
display->flags |= ALLEGRO_PROGRAMMABLE_PIPELINE;
318318
#endif
319+
#ifdef ALLEGRO_CFG_OPENGLES
320+
display->flags |= ALLEGRO_OPENGL_ES_PROFILE;
321+
#endif
319322

320323
/* Store our initial virtual adapter, used by fullscreen and positioning
321324
* code.

0 commit comments

Comments
 (0)