mirror of
https://github.com/minetest/irrlicht.git
synced 2024-12-28 03:30:30 +01:00
Fix ifdefs around includes in CIrrDeviceSDL
This commit is contained in:
parent
8dd8652f5f
commit
df28a4cc46
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user