[Mesa-dev] [PATCH 03/10] mapi: remove duplicate GL typedefs

Emil Velikov emil.l.velikov at gmail.com
Thu Dec 7 17:07:38 UTC 2017


From: Emil Velikov <emil.velikov at collabora.com>

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 at collabora.com>
---
 src/mapi/glapi/glapi_priv.h | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/src/mapi/glapi/glapi_priv.h b/src/mapi/glapi/glapi_priv.h
index 0e584f4be96..ddfc594a979 100644
--- a/src/mapi/glapi/glapi_priv.h
+++ b/src/mapi/glapi/glapi_priv.h
@@ -31,15 +31,8 @@
 #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"
 
 
-- 
2.15.0



More information about the mesa-dev mailing list