mesa: add missing defines for GL_OES_EGL_image_external
authorChia-I Wu <olv@lunarg.com>
Sun, 23 Oct 2011 10:36:04 +0000 (18:36 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Thu, 3 Nov 2011 07:09:44 +0000 (15:09 +0800)
Reviewed-by: Brian Paul <brianp@vmware.com>
Acked-by: Jakob Bornecrantz <jakob@vmware.com>
src/mesa/main/glheader.h

index 0df811986617e5288be62fe295115675c914d5d9..c4fb1570daee458326a7d4ec6fc8f24bb026c6c0 100644 (file)
@@ -66,6 +66,14 @@ typedef void *GLeglImageOES;
 #endif
 
 
+#ifndef GL_OES_EGL_image_external
+#define GL_TEXTURE_EXTERNAL_OES                                 0x8D65
+#define GL_SAMPLER_EXTERNAL_OES                                 0x8D66
+#define GL_TEXTURE_BINDING_EXTERNAL_OES                         0x8D67
+#define GL_REQUIRED_TEXTURE_IMAGE_UNITS_OES                     0x8D68
+#endif
+
+
 #ifndef GL_OES_point_size_array
 #define GL_POINT_SIZE_ARRAY_OES                                 0x8B9C
 #define GL_POINT_SIZE_ARRAY_TYPE_OES                            0x898A