Mesa (master): xeglgears: Remove borrowed GL_OES_EGL_image types

Kristian Høgsberg krh at kemper.freedesktop.org
Wed Feb 24 11:37:44 PST 2010


Module: Mesa
Branch: master
Commit: f272a780af92d7aeff085ad5c968c5ca1d157113
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f272a780af92d7aeff085ad5c968c5ca1d157113

Author: Kristian Høgsberg <krh at bitplanet.net>
Date:   Wed Feb 24 14:36:56 2010 -0500

xeglgears: Remove borrowed GL_OES_EGL_image types

These are now in gl.h.

---

 progs/egl/xeglgears.c |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/progs/egl/xeglgears.c b/progs/egl/xeglgears.c
index 342d509..957081e 100644
--- a/progs/egl/xeglgears.c
+++ b/progs/egl/xeglgears.c
@@ -32,6 +32,9 @@
  */
 
 
+#define GL_GLEXT_PROTOTYPES
+#define EGL_EGLEXT_PROTOTYPES
+
 #include <math.h>
 #include <stdlib.h>
 #include <stdio.h>
@@ -42,7 +45,6 @@
 #include <GL/gl.h>
 #include <EGL/egl.h>
 
-#define EGL_EGLEXT_PROTOTYPES
 #include <EGL/eglext.h>
 
 
@@ -540,10 +542,6 @@ enum {
    GEARS_PBUFFER_TEXTURE
 };
 
-typedef void* GLeglImageOES;
-GLAPI void GLAPIENTRY glEGLImageTargetTexture2DOES (GLenum target, GLeglImageOES image);
-GLAPI void GLAPIENTRY glEGLImageTargetRenderbufferStorageOES (GLenum target, GLeglImageOES image);
-
 static void
 texture_gears(struct egl_manager *eman, int surface_type)
 {



More information about the mesa-commit mailing list