diff --git a/src/native/common/opengles/extgl.h b/src/native/common/opengles/extgl.h index db63fec8..124d748c 100644 --- a/src/native/common/opengles/extgl.h +++ b/src/native/common/opengles/extgl.h @@ -79,7 +79,7 @@ THE POSSIBILITY OF SUCH DAMAGE. #include "extgl_types.h" /* KHR_debug callback function pointer. */ -typedef void (APIENTRY *GLDEBUGPROC)(GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar* message, GLvoid* userParam); +typedef void (GL_APIENTRY *GLDEBUGPROC)(GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar* message, GLvoid* userParam); /* initializes everything, call this right after the rc is created. the function returns true if successful */ extern bool extgl_Open(JNIEnv *env); diff --git a/src/native/common/opengles/extgl_types.h b/src/native/common/opengles/extgl_types.h index 3803f253..d459a1c2 100644 --- a/src/native/common/opengles/extgl_types.h +++ b/src/native/common/opengles/extgl_types.h @@ -70,7 +70,4 @@ typedef khronos_uint64_t EGLuint64NV; // EGL_image_OES typedef void* GLeglImageOES; -// We need this to compile OpenCL -typedef struct __GLsync * GLsync; - #endif \ No newline at end of file