--- DevIL.old/DevIL/src-ILUT/src/ilut_opengl.cpp +++ DevIL/DevIL/src-ILUT/src/ilut_opengl.cpp @@ -89,6 +89,8 @@ ILGLTEXSUBIMAGE3DARBPROC ilGLTexSubImage3D = NULL; ILGLCOMPRESSEDTEXIMAGE2DARBPROC ilGLCompressed2D = NULL; ILGLCOMPRESSEDTEXIMAGE3DARBPROC ilGLCompressed3D = NULL; +#else +#error This should not happen #endif --- DevIL.old/DevIL/src-ILUT/include/ilut_opengl.h +++ DevIL/DevIL/src-ILUT/include/ilut_opengl.h @@ -42,6 +42,6 @@ typedef void (ILAPIENTRY * ILGLCOMPRESSEDTEXIMAGE2DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data); typedef void (ILAPIENTRY * ILGLCOMPRESSEDTEXIMAGE3DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data); - +#define linux 1 #endif //ILUT_USE_OPENGL #endif //ILUT_OPENGL_H