From 1e61021a062b1403f7eed948ac9d2ea0c04ea951 Mon Sep 17 00:00:00 2001
From: Sven Gothel <sgothel@jausoft.com>
Date: Mon, 9 Apr 2012 03:55:57 +0200
Subject: Fix EGL/ES types GLeglImageOES, EGLImageKHR & EGLClientBuffer - and
 functions: eglCreateImageKHR, eglCreatePbufferFromClientBuffer

Unique typedef for: EGLConfig, EGLContext, EGLDisplay, EGLSurface,
                    EGLNativeDisplayType, EGLNativeWindowType, EGLNativePixmapType,
                    EGLImageKHR, GLeglImageOES and EGLSyncKHR

allowing to render them individually opaque (long) and keep EGLClientBuffer as NIO buffer.
---
 make/stub_includes/opengl/GLES2/gl2ext.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'make/stub_includes/opengl/GLES2')

diff --git a/make/stub_includes/opengl/GLES2/gl2ext.h b/make/stub_includes/opengl/GLES2/gl2ext.h
index 7cbf61497..04c0a64e9 100644
--- a/make/stub_includes/opengl/GLES2/gl2ext.h
+++ b/make/stub_includes/opengl/GLES2/gl2ext.h
@@ -54,7 +54,8 @@ extern "C" {
 
 /* GL_OES_EGL_image */
 #ifndef GL_OES_EGL_image
-typedef void* GLeglImageOES;
+// typedef void* GLeglImageOES;
+typedef struct __GLeglImageOES *GLeglImageOES;
 #endif
 
 /* GL_OES_EGL_image_external */
-- 
cgit v1.2.3