diff --git a/project/src/opengl/OGLTexture.cpp b/project/src/opengl/OGLTexture.cpp index f33bd6a60..3774e106c 100644 --- a/project/src/opengl/OGLTexture.cpp +++ b/project/src/opengl/OGLTexture.cpp @@ -43,7 +43,9 @@ #define ARGB_PIXEL GL_BGRA #endif -//Constant Value: 32993 +#ifndef GL_UNPACK_ROW_LENGTH +#define GL_UNPACK_ROW_LENGTH 0x0CF2 +#endif namespace nme { diff --git a/project/src/opengl/OpenGLContext.cpp b/project/src/opengl/OpenGLContext.cpp index 0d5c7c32c..bdfa94466 100644 --- a/project/src/opengl/OpenGLContext.cpp +++ b/project/src/opengl/OpenGLContext.cpp @@ -6,6 +6,10 @@ #include #endif +#ifdef ANDROID +#include +#endif + #ifdef NME_DYNAMIC_ANGLE bool nmeEglMode = true; #endif