summaryrefslogtreecommitdiffstats
path: root/progs/egl/xeglgears.c
diff options
context:
space:
mode:
authorKristian Høgsberg <[email protected]>2010-02-24 14:36:56 -0500
committerKristian Høgsberg <[email protected]>2010-02-24 14:36:56 -0500
commitf272a780af92d7aeff085ad5c968c5ca1d157113 (patch)
tree3c551e27809e5fa769906c4b9ba77bcfc4567259 /progs/egl/xeglgears.c
parent61cc18a866207db3560f9026e5566602123ed4f7 (diff)
xeglgears: Remove borrowed GL_OES_EGL_image types
These are now in gl.h.
Diffstat (limited to 'progs/egl/xeglgears.c')
-rw-r--r--progs/egl/xeglgears.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/progs/egl/xeglgears.c b/progs/egl/xeglgears.c
index 342d509a72e..957081e5002 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)
{