mesa: Fix build with older gcc since update of glext.h

Reviewed-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
Tom Stellard 2013-06-27 08:27:30 -07:00
parent 2840bec56f
commit bee49cb0ec
3 changed files with 0 additions and 10 deletions

View File

@ -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);

View File

@ -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_ */"""

View File

@ -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;