1
0

Update CIrrDeviceSDL to support SDL2 (#85)

This commit is contained in:
Emmanuel Hansen
2022-01-16 11:16:15 +00:00
committed by GitHub
parent 195759100f
commit 53db262bd2
7 changed files with 207 additions and 263 deletions

View File

@@ -8,7 +8,7 @@
#include "irrMath.h"
#if defined(_IRR_COMPILE_WITH_SDL_DEVICE_)
#include <SDL/SDL_endian.h>
#include <SDL2/SDL_endian.h>
#define bswap_16(X) SDL_Swap16(X)
#define bswap_32(X) SDL_Swap32(X)
#define bswap_64(X) SDL_Swap64(X)