diff --git a/project/src/graphics/opengl/OpenGL.h b/project/src/graphics/opengl/OpenGL.h index 576760480..63011a947 100644 --- a/project/src/graphics/opengl/OpenGL.h +++ b/project/src/graphics/opengl/OpenGL.h @@ -90,6 +90,7 @@ typedef ptrdiff_t GLsizeiptrARB; #ifdef NATIVE_TOOLKIT_SDL_ANGLE #include #else +#define GL_GLEXT_PROTOTYPES #include #include #endif diff --git a/project/src/graphics/opengl/OpenGLBindings.cpp b/project/src/graphics/opengl/OpenGLBindings.cpp index 4ea3d4a2e..7936378a8 100644 --- a/project/src/graphics/opengl/OpenGLBindings.cpp +++ b/project/src/graphics/opengl/OpenGLBindings.cpp @@ -1528,7 +1528,7 @@ namespace lime { } - int lime_gl_get_sync_parameteri (double sync, int pname) { + int lime_gl_get_sync_parameteri (value sync, int pname) { // TODO @@ -1539,7 +1539,7 @@ namespace lime { } - void lime_gl_get_sync_parameteriv (double sync, int pname, double params) { + void lime_gl_get_sync_parameteriv (value sync, int pname, double params) { // TODO