diff options
Diffstat (limited to 'progs/egl/xeglgears.c')
-rw-r--r-- | 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 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) { |