We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 25c6c12 commit e41a0c9Copy full SHA for e41a0c9
src/platforms/rcore_desktop_sdl.c
@@ -49,7 +49,14 @@
49
**********************************************************************************************/
50
51
#include "SDL.h" // SDL base library (window/rendered, input, timming... functionality)
52
+#ifdef GRAPHICS_API_OPENGL_ES2
53
+// I suspect that the gles2 version of the SDL header should be used
54
+// but the compilation fails if we do. Not including anything appears
55
+// to work fine.
56
+//#include "SDL_opengles2.h"
57
+#else
58
#include "SDL_opengl.h" // SDL OpenGL functionality (if required, instead of internal renderer)
59
+#endif
60
61
//----------------------------------------------------------------------------------
62
// Types and Structures Definition
0 commit comments