Update rcore_desktop_sdl.c

This commit is contained in:
Ray
2023-11-20 23:21:04 +01:00
committed by GitHub
parent ce26e26177
commit 994c4f4bdf

View File

@@ -48,14 +48,13 @@
* *
**********************************************************************************************/ **********************************************************************************************/
#include "SDL.h" // SDL base library (window/rendered, input, timming... functionality) #include "SDL.h" // SDL base library (window/rendered, input, timming... functionality)
#ifdef GRAPHICS_API_OPENGL_ES2
// I suspect that the gles2 version of the SDL header should be used #if defined(GRAPHICS_API_OPENGL_ES2)
// but the compilation fails if we do. Not including anything appears // It seems it does not need to be included to work
// to work fine. //#include "SDL_opengles2.h"
//#include "SDL_opengles2.h"
#else #else
#include "SDL_opengl.h" // SDL OpenGL functionality (if required, instead of internal renderer) #include "SDL_opengl.h" // SDL OpenGL functionality (if required, instead of internal renderer)
#endif #endif
//---------------------------------------------------------------------------------- //----------------------------------------------------------------------------------