diff options
| author | Ray <[email protected]> | 2023-11-21 00:15:06 +0100 |
|---|---|---|
| committer | Ray <[email protected]> | 2023-11-21 00:15:06 +0100 |
| commit | 4dae94821bc5c74af1887933ccbb719b11044879 (patch) | |
| tree | 66b30fe1a9ff58d84421576eba545965278ab1cb /src/platforms | |
| parent | 299cd9b8305a2043c1d4934b1b1c574a204608d0 (diff) | |
| parent | 994c4f4bdf1f47f706447724b813c9304a66fb16 (diff) | |
| download | raylib-4dae94821bc5c74af1887933ccbb719b11044879.tar.gz raylib-4dae94821bc5c74af1887933ccbb719b11044879.zip | |
Merge branch 'master' of https://github.com/raysan5/raylib
Diffstat (limited to 'src/platforms')
| -rw-r--r-- | src/platforms/rcore_desktop_sdl.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/platforms/rcore_desktop_sdl.c b/src/platforms/rcore_desktop_sdl.c index 96e55702..0d3b091f 100644 --- a/src/platforms/rcore_desktop_sdl.c +++ b/src/platforms/rcore_desktop_sdl.c @@ -48,8 +48,14 @@ * **********************************************************************************************/ -#include "SDL.h" // SDL base library (window/rendered, input, timming... functionality) -#include "SDL_opengl.h" // SDL OpenGL functionality (if required, instead of internal renderer) +#include "SDL.h" // SDL base library (window/rendered, input, timming... functionality) + +#if defined(GRAPHICS_API_OPENGL_ES2) + // It seems it does not need to be included to work + //#include "SDL_opengles2.h" +#else + #include "SDL_opengl.h" // SDL OpenGL functionality (if required, instead of internal renderer) +#endif //---------------------------------------------------------------------------------- // Types and Structures Definition |
