Pārlūkot izejas kodu

Update rcore_desktop_sdl.c

pull/3557/head
Ray pirms 1 gada
committed by GitHub
vecāks
revīzija
994c4f4bdf
Šim parakstam datu bāzē netika atrasta zināma atslēga GPG atslēgas ID: 4AEE18F83AFDEB23
1 mainītis faili ar 6 papildinājumiem un 7 dzēšanām
  1. +6
    -7
      src/platforms/rcore_desktop_sdl.c

+ 6
- 7
src/platforms/rcore_desktop_sdl.c Parādīt failu

@ -48,14 +48,13 @@
*
**********************************************************************************************/
#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
// but the compilation fails if we do. Not including anything appears
// to work fine.
//#include "SDL_opengles2.h"
#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)
#include "SDL_opengl.h" // SDL OpenGL functionality (if required, instead of internal renderer)
#endif
//----------------------------------------------------------------------------------

Notiek ielāde…
Atcelt
Saglabāt