summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorKristian Høgsberg <[email protected]>2010-02-11 17:04:06 -0500
committerKristian Høgsberg <[email protected]>2010-02-11 17:04:06 -0500
commitc7ab5994ee86dc689c79df76051cf82c8b266e4d (patch)
treeb170367b3425bbaa331ee54bad5273596af84757 /src/mesa
parentcc57baff5f40ba0ab3d3044c4fcd867e5b0e640e (diff)
glapi: Avoid #including gl.h
It's only used for a couple of integer types and and might conflict with other client API header files.
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/glapi/glapi.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/mesa/glapi/glapi.h b/src/mesa/glapi/glapi.h
index 47ea23e92b5..f802a61d3bd 100644
--- a/src/mesa/glapi/glapi.h
+++ b/src/mesa/glapi/glapi.h
@@ -46,8 +46,6 @@
#define GL_GLEXT_PROTOTYPES
-#include "GL/gl.h"
-#include "GL/glext.h"
#include "glthread.h"
@@ -136,7 +134,7 @@ struct _glapi_table *
_glapi_get_override_dispatch(int layer);
-extern GLuint
+extern unsigned int
_glapi_get_dispatch_table_size(void);
@@ -148,7 +146,7 @@ extern int
_glapi_add_dispatch( const char * const * function_names,
const char * parameter_signature );
-extern GLint
+extern int
_glapi_get_proc_offset(const char *funcName);
@@ -157,7 +155,7 @@ _glapi_get_proc_address(const char *funcName);
extern const char *
-_glapi_get_proc_name(GLuint offset);
+_glapi_get_proc_name(unsigned int offset);
#endif