From be5655a254cbe047c4069cd850b2bd0e673f0147 Mon Sep 17 00:00:00 2001 From: Ioannis Tsakpinis Date: Tue, 6 Nov 2012 12:14:03 +0000 Subject: [PATCH] Removed redundant GLsync definition and replaced APIENTRY with GL_APIENTRY. --- src/native/common/opengles/extgl.h | 2 +- src/native/common/opengles/extgl_types.h | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) 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