Fix ifdefs around includes in CIrrDeviceSDL

This commit is contained in:
numzero 2023-03-03 21:23:07 +03:00
parent 8dd8652f5f
commit df28a4cc46

View File

@ -20,15 +20,10 @@
#include <SDL_video.h> #include <SDL_video.h>
#ifdef _IRR_EMSCRIPTEN_PLATFORM_ #ifdef _IRR_EMSCRIPTEN_PLATFORM_
#ifdef _IRR_COMPILE_WITH_OGLES2_
#include "CEGLManager.h"
#endif
#include <emscripten.h> #include <emscripten.h>
#endif #endif
#ifdef _IRR_COMPILE_WITH_OPENGL_
#include "CSDLManager.h" #include "CSDLManager.h"
#endif
static int SDLDeviceInstances = 0; static int SDLDeviceInstances = 0;