mapi: remove duplicate GL typedefs
authorEmil Velikov <emil.velikov@collabora.com>
Thu, 7 Dec 2017 17:07:38 +0000 (17:07 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 25 Jan 2018 17:42:50 +0000 (17:42 +0000)
Remove the instances already available in gl.h or glext.h.
Sadly GLclampx is only available in GLES(1) so we need to keep that one.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mapi/glapi/glapi_priv.h

index 0e584f4be9627fc844bc231ae85a42da3276a0cc..ddfc594a9792bd7398e6afb19954a1da01b993b2 100644 (file)
 #include "GL/gl.h"
 #include "GL/glext.h"
 
-#ifndef GL_OES_fixed_point
-typedef int GLfixed;
-#endif
 typedef int GLclampx;
 
-#ifndef GL_OES_EGL_image
-typedef void *GLeglImageOES;
-#endif
-
 #include "glapi/glapi.h"