]> git.lizzy.rs Git - irrlicht.git/commitdiff
Fix SDL2 include paths
authorsfan5 <sfan5@live.de>
Mon, 14 Feb 2022 17:26:59 +0000 (18:26 +0100)
committersfan5 <sfan5@live.de>
Mon, 14 Feb 2022 17:26:59 +0000 (18:26 +0100)
closes #96

source/Irrlicht/CIrrDeviceSDL.cpp
source/Irrlicht/CIrrDeviceSDL.h
source/Irrlicht/COpenGLCommon.h
source/Irrlicht/os.cpp

index 68f50668d0cf0646075e9edd00da7b7038e7d3af..1ecf56d9609e01854f6f0e2bac82ceb3d27c3511 100644 (file)
@@ -17,7 +17,7 @@
 #include <stdio.h>\r
 #include <stdlib.h>\r
 #include "SIrrCreationParameters.h"\r
-#include <SDL2/SDL_video.h>\r
+#include <SDL_video.h>\r
 \r
 #ifdef _IRR_EMSCRIPTEN_PLATFORM_\r
 #ifdef _IRR_COMPILE_WITH_OGLES2_\r
index e5e3d723acdb95de249c1ea769e86a864dca6d11..f3a5c1567099f9668349bf55c63680eca90fff5c 100644 (file)
@@ -20,8 +20,8 @@
 #include <emscripten/html5.h>\r
 #endif\r
 \r
-#include <SDL2/SDL.h>\r
-#include <SDL2/SDL_syswm.h>\r
+#include <SDL.h>\r
+#include <SDL_syswm.h>\r
 \r
 namespace irr\r
 {\r
index 256868ebe55ef783ec49cb11448e106db8054bb7..22a24b6da69397818f4b5e2707b20129b1602be4 100644 (file)
@@ -39,8 +39,8 @@
        #else\r
                #define GL_GLEXT_PROTOTYPES 1\r
        #endif\r
-       #include <SDL2/SDL_video.h>\r
-       #include <SDL2/SDL_opengl.h>\r
+       #include <SDL_video.h>\r
+       #include <SDL_opengl.h>\r
        #if defined(_IRR_OPENGL_USE_EXTPOINTER_)\r
                // The SDL2 header doesn't cut it for extensions\r
                #include <GL/glext.h>\r
index d26830db22dd1c8d28e9058f0a5b82337c877ca2..b27d56bf7d8b60661d0cc75c36a83880b02f6e65 100644 (file)
@@ -8,7 +8,7 @@
 #include "irrMath.h"\r
 \r
 #if defined(_IRR_COMPILE_WITH_SDL_DEVICE_)\r
-       #include <SDL2/SDL_endian.h>\r
+       #include <SDL_endian.h>\r
        #define bswap_16(X) SDL_Swap16(X)\r
        #define bswap_32(X) SDL_Swap32(X)\r
        #define bswap_64(X) SDL_Swap64(X)\r