summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2010-02-11 17:36:59 -0500
committerKristian Høgsberg <krh@bitplanet.net>2010-02-24 13:38:55 -0500
commitcaa46f753835f8bb87fc16e22734f27a1d52bb27 (patch)
treef9d9a737bbda82df57df257dfd42640b52c5bd32 /include
parent517faa4f3720134a19e1834144c75cf58a68c9c8 (diff)
glapi: Add GL_OES_EGL_image
Diffstat (limited to 'include')
-rw-r--r--include/GL/gl.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/GL/gl.h b/include/GL/gl.h
index 36153b159b0..3fce3dfc0a1 100644
--- a/include/GL/gl.h
+++ b/include/GL/gl.h
@@ -2196,6 +2196,21 @@ typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEATIPROC) (GLenum modeRGB, GLen
#endif /* GL_ATI_blend_equation_separate */
+/* GL_OES_EGL_image */
+#ifndef GL_OES_EGL_image
+typedef void* GLeglImageOES;
+#endif
+
+#ifndef GL_OES_EGL_image
+#define GL_OES_EGL_image 1
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glEGLImageTargetTexture2DOES (GLenum target, GLeglImageOES image);
+GLAPI void APIENTRY glEGLImageTargetRenderbufferStorageOES (GLenum target, GLeglImageOES image);
+#endif
+typedef void (APIENTRYP PFNGLEGLIMAGETARGETTEXTURE2DOESPROC) (GLenum target, GLeglImageOES image);
+typedef void (APIENTRYP PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC) (GLenum target, GLeglImageOES image);
+#endif
+
/**
** NOTE!!!!! If you add new functions to this file, or update