Mesa (master): mapi: remove duplicate GL typedefs

Emil Velikov evelikov at kemper.freedesktop.org
Thu Jan 25 18:43:43 UTC 2018


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

Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Thu Dec  7 17:07:38 2017 +0000

mapi: remove duplicate GL typedefs

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>
Reviewed-by: Ian Romanick <ian.d.romanick at intel.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 0e584f4be9..ddfc594a97 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"
 
 




More information about the mesa-commit mailing list