diff options
author | Sven Gothel <[email protected]> | 2012-04-09 03:55:57 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2012-04-09 03:55:57 +0200 |
commit | 1e61021a062b1403f7eed948ac9d2ea0c04ea951 (patch) | |
tree | 741a022a7ce45996c1394aa27648ffc776fbf1c1 /make/stub_includes/opengl | |
parent | 96ae8202621dfa1f7ae4995e7749d1b0d9918b54 (diff) |
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.
Diffstat (limited to 'make/stub_includes/opengl')
-rw-r--r-- | make/stub_includes/opengl/GLES/glext.h | 3 | ||||
-rw-r--r-- | make/stub_includes/opengl/GLES2/gl2ext.h | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/make/stub_includes/opengl/GLES/glext.h b/make/stub_includes/opengl/GLES/glext.h index 15451c68f..b3d6b712b 100644 --- a/make/stub_includes/opengl/GLES/glext.h +++ b/make/stub_includes/opengl/GLES/glext.h @@ -65,7 +65,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 */ 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 */ |