forked from Mirrorlandia_minetest/irrlicht
parent
4fb1c55ec5
commit
09b8837ef9
@ -17,7 +17,7 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include "SIrrCreationParameters.h"
|
#include "SIrrCreationParameters.h"
|
||||||
#include <SDL2/SDL_video.h>
|
#include <SDL_video.h>
|
||||||
|
|
||||||
#ifdef _IRR_EMSCRIPTEN_PLATFORM_
|
#ifdef _IRR_EMSCRIPTEN_PLATFORM_
|
||||||
#ifdef _IRR_COMPILE_WITH_OGLES2_
|
#ifdef _IRR_COMPILE_WITH_OGLES2_
|
||||||
|
@ -20,8 +20,8 @@
|
|||||||
#include <emscripten/html5.h>
|
#include <emscripten/html5.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <SDL2/SDL.h>
|
#include <SDL.h>
|
||||||
#include <SDL2/SDL_syswm.h>
|
#include <SDL_syswm.h>
|
||||||
|
|
||||||
namespace irr
|
namespace irr
|
||||||
{
|
{
|
||||||
|
@ -39,8 +39,8 @@
|
|||||||
#else
|
#else
|
||||||
#define GL_GLEXT_PROTOTYPES 1
|
#define GL_GLEXT_PROTOTYPES 1
|
||||||
#endif
|
#endif
|
||||||
#include <SDL2/SDL_video.h>
|
#include <SDL_video.h>
|
||||||
#include <SDL2/SDL_opengl.h>
|
#include <SDL_opengl.h>
|
||||||
#if defined(_IRR_OPENGL_USE_EXTPOINTER_)
|
#if defined(_IRR_OPENGL_USE_EXTPOINTER_)
|
||||||
// The SDL2 header doesn't cut it for extensions
|
// The SDL2 header doesn't cut it for extensions
|
||||||
#include <GL/glext.h>
|
#include <GL/glext.h>
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
#include "irrMath.h"
|
#include "irrMath.h"
|
||||||
|
|
||||||
#if defined(_IRR_COMPILE_WITH_SDL_DEVICE_)
|
#if defined(_IRR_COMPILE_WITH_SDL_DEVICE_)
|
||||||
#include <SDL2/SDL_endian.h>
|
#include <SDL_endian.h>
|
||||||
#define bswap_16(X) SDL_Swap16(X)
|
#define bswap_16(X) SDL_Swap16(X)
|
||||||
#define bswap_32(X) SDL_Swap32(X)
|
#define bswap_32(X) SDL_Swap32(X)
|
||||||
#define bswap_64(X) SDL_Swap64(X)
|
#define bswap_64(X) SDL_Swap64(X)
|
||||||
|
Loading…
Reference in New Issue
Block a user