diff options
author | Brian Paul <[email protected]> | 2008-06-13 16:45:15 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2008-06-13 16:45:15 -0600 |
commit | 8b11fa4d4496032246b33182b9285c1181d41f1f (patch) | |
tree | b13a811a8c7b2ec4871e2bdfdf19eacd2f78c027 /src/mesa/glapi/glapi.h | |
parent | e9a6832737e17fd41d1f9e660239bd0bd2355b0b (diff) |
mesa: move some glapi bits around
Move _glapi_proc typedef from glapitable.h to glapi.h
Also, don't include glapitable.h from glapi.h
Before we were including the huge glapitable.h file in every .c file.
Diffstat (limited to 'src/mesa/glapi/glapi.h')
-rw-r--r-- | src/mesa/glapi/glapi.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mesa/glapi/glapi.h b/src/mesa/glapi/glapi.h index ddfb1cffb91..20d35769cf8 100644 --- a/src/mesa/glapi/glapi.h +++ b/src/mesa/glapi/glapi.h @@ -46,10 +46,13 @@ #include "GL/gl.h" -#include "glapitable.h" #include "glthread.h" +struct _glapi_table; + +typedef void (*_glapi_proc)(void); /* generic function pointer */ + typedef void (*_glapi_warning_func)(void *ctx, const char *str, ...); |