diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-05-31 01:48:18 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-05-31 01:48:18 +0300 |
commit | d53b058ec3f6208f34884ed572bb5d47de932108 (patch) | |
tree | 980acf66aaa3b5df6b7e3e7e08dfccc0b9af8827 /src/resources/safeopenglimagehelper.cpp | |
parent | 4530a341c65ac12e50075fb3e3d6166cd2e1fe3b (diff) | |
download | plus-d53b058ec3f6208f34884ed572bb5d47de932108.tar.gz plus-d53b058ec3f6208f34884ed572bb5d47de932108.tar.bz2 plus-d53b058ec3f6208f34884ed572bb5d47de932108.tar.xz plus-d53b058ec3f6208f34884ed572bb5d47de932108.zip |
Fix different include issues.
Diffstat (limited to 'src/resources/safeopenglimagehelper.cpp')
-rw-r--r-- | src/resources/safeopenglimagehelper.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/resources/safeopenglimagehelper.cpp b/src/resources/safeopenglimagehelper.cpp index c57e2a104..8a929f214 100644 --- a/src/resources/safeopenglimagehelper.cpp +++ b/src/resources/safeopenglimagehelper.cpp @@ -47,6 +47,10 @@ #include "debug.h" +#ifndef SDL_BYTEORDER +#error missing SDL_endian.h +#endif + int SafeOpenGLImageHelper::mTextureType = 0; int SafeOpenGLImageHelper::mInternalTextureType = GL_RGBA8; int SafeOpenGLImageHelper::mTextureSize = 0; |