From 09b8837ef9f94ab8f8c287081b19fc7e771c35dc Mon Sep 17 00:00:00 2001 From: sfan5 Date: Mon, 14 Feb 2022 18:26:59 +0100 Subject: [PATCH] Fix SDL2 include paths closes #96 --- source/Irrlicht/CIrrDeviceSDL.cpp | 2 +- source/Irrlicht/CIrrDeviceSDL.h | 4 ++-- source/Irrlicht/COpenGLCommon.h | 4 ++-- source/Irrlicht/os.cpp | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/source/Irrlicht/CIrrDeviceSDL.cpp b/source/Irrlicht/CIrrDeviceSDL.cpp index 68f50668..1ecf56d9 100644 --- a/source/Irrlicht/CIrrDeviceSDL.cpp +++ b/source/Irrlicht/CIrrDeviceSDL.cpp @@ -17,7 +17,7 @@ #include #include #include "SIrrCreationParameters.h" -#include +#include #ifdef _IRR_EMSCRIPTEN_PLATFORM_ #ifdef _IRR_COMPILE_WITH_OGLES2_ diff --git a/source/Irrlicht/CIrrDeviceSDL.h b/source/Irrlicht/CIrrDeviceSDL.h index e5e3d723..f3a5c156 100644 --- a/source/Irrlicht/CIrrDeviceSDL.h +++ b/source/Irrlicht/CIrrDeviceSDL.h @@ -20,8 +20,8 @@ #include #endif -#include -#include +#include +#include namespace irr { diff --git a/source/Irrlicht/COpenGLCommon.h b/source/Irrlicht/COpenGLCommon.h index 256868eb..22a24b6d 100644 --- a/source/Irrlicht/COpenGLCommon.h +++ b/source/Irrlicht/COpenGLCommon.h @@ -39,8 +39,8 @@ #else #define GL_GLEXT_PROTOTYPES 1 #endif - #include - #include + #include + #include #if defined(_IRR_OPENGL_USE_EXTPOINTER_) // The SDL2 header doesn't cut it for extensions #include diff --git a/source/Irrlicht/os.cpp b/source/Irrlicht/os.cpp index d26830db..b27d56bf 100644 --- a/source/Irrlicht/os.cpp +++ b/source/Irrlicht/os.cpp @@ -8,7 +8,7 @@ #include "irrMath.h" #if defined(_IRR_COMPILE_WITH_SDL_DEVICE_) - #include + #include #define bswap_16(X) SDL_Swap16(X) #define bswap_32(X) SDL_Swap32(X) #define bswap_64(X) SDL_Swap64(X)