summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Stellard <[email protected]>2013-06-27 08:27:30 -0700
committerTom Stellard <[email protected]>2013-06-28 08:49:06 -0700
commitbee49cb0ecbacb9fbc9dddc5e560874adacc518e (patch)
tree7ec4fd6ef3daa130397fe1f8226e9e1661cfa79d
parent2840bec56f79347b95dec5458b20d4a46d1aa445 (diff)
mesa: Fix build with older gcc since update of glext.h
Reviewed-by: Brian Paul <[email protected]>
-rw-r--r--include/GL/glext.h2
-rw-r--r--src/mapi/mapi_abi.py4
-rw-r--r--src/mesa/main/glheader.h4
3 files changed, 0 insertions, 10 deletions
diff --git a/include/GL/glext.h b/include/GL/glext.h
index adefd561d65..c14219e8c14 100644
--- a/include/GL/glext.h
+++ b/include/GL/glext.h
@@ -4606,7 +4606,6 @@ GLAPI GLbitfield APIENTRY glQueryMatrixxOES (GLfixed *mantissa, GLint *exponent)
#ifndef GL_OES_single_precision
#define GL_OES_single_precision 1
-typedef float GLclampf;
typedef void (APIENTRYP PFNGLCLEARDEPTHFOESPROC) (GLclampf depth);
typedef void (APIENTRYP PFNGLCLIPPLANEFOESPROC) (GLenum plane, const GLfloat *equation);
typedef void (APIENTRYP PFNGLDEPTHRANGEFOESPROC) (GLclampf n, GLclampf f);
@@ -5802,7 +5801,6 @@ GLAPI void APIENTRY glCullParameterfvEXT (GLenum pname, GLfloat *params);
#ifndef GL_EXT_depth_bounds_test
#define GL_EXT_depth_bounds_test 1
-typedef double GLclampd;
#define GL_DEPTH_BOUNDS_TEST_EXT 0x8890
#define GL_DEPTH_BOUNDS_EXT 0x8891
typedef void (APIENTRYP PFNGLDEPTHBOUNDSEXTPROC) (GLclampd zmin, GLclampd zmax);
diff --git a/src/mapi/mapi_abi.py b/src/mapi/mapi_abi.py
index faa34311caf..f5ff8d8438d 100644
--- a/src/mapi/mapi_abi.py
+++ b/src/mapi/mapi_abi.py
@@ -728,7 +728,6 @@ class GLAPIPrinter(ABIPrinter):
#define GLAPI_PREFIX_STR(func) "gl"#func
#endif /* USE_MGL_NAMESPACE */
-typedef int GLfixed;
typedef int GLclampx;
#endif /* _GLAPI_TMP_H_ */"""
@@ -752,7 +751,6 @@ class ES1APIPrinter(GLAPIPrinter):
def _get_c_header(self):
header = """#ifndef _GLAPI_TMP_H_
#define _GLAPI_TMP_H_
-typedef int GLfixed;
typedef int GLclampx;
#endif /* _GLAPI_TMP_H_ */"""
@@ -776,7 +774,6 @@ class ES2APIPrinter(GLAPIPrinter):
def _get_c_header(self):
header = """#ifndef _GLAPI_TMP_H_
#define _GLAPI_TMP_H_
-typedef int GLfixed;
typedef int GLclampx;
#endif /* _GLAPI_TMP_H_ */"""
@@ -804,7 +801,6 @@ class SharedGLAPIPrinter(GLAPIPrinter):
def _get_c_header(self):
header = """#ifndef _GLAPI_TMP_H_
#define _GLAPI_TMP_H_
-typedef int GLfixed;
typedef int GLclampx;
#endif /* _GLAPI_TMP_H_ */"""
diff --git a/src/mesa/main/glheader.h b/src/mesa/main/glheader.h
index c83c68f7109..b3b0c52a058 100644
--- a/src/mesa/main/glheader.h
+++ b/src/mesa/main/glheader.h
@@ -59,10 +59,6 @@ extern "C" {
#endif
-/**
- * GL_FIXED is defined in glext.h version 64 but these typedefs aren't (yet).
- */
-typedef int GLfixed;
typedef int GLclampx;