diff --git a/src/OpenGL.h b/src/OpenGL.h index 796f1ad42..b40af2f11 100644 --- a/src/OpenGL.h +++ b/src/OpenGL.h @@ -31,6 +31,8 @@ #include #include "magnumConfigure.h" +/** @todo Remove NaCl workaround when not needed */ + /* Desktop OpenGL */ #ifndef MAGNUM_TARGET_GLES #include "OpenGL/GL/gl_magnum.h" @@ -44,6 +46,12 @@ #include #include + + /* We need to define missing types for new extensions */ + #include + typedef struct __GLsync *GLsync; + typedef std::uint64_t GLuint64; + typedef std::int64_t GLint64; #undef __gl2ext_h_ #include "OpenGL/GLES2/gl2ext.h"