diff options
Diffstat (limited to 'src/mesa/glapi/glapi.h')
-rw-r--r-- | src/mesa/glapi/glapi.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/mesa/glapi/glapi.h b/src/mesa/glapi/glapi.h index c334203394f..eb26ebf87b5 100644 --- a/src/mesa/glapi/glapi.h +++ b/src/mesa/glapi/glapi.h @@ -46,13 +46,10 @@ #include "GL/gl.h" - -struct _glapi_table; +#include "glapitable.h" typedef void (*_glapi_warning_func)(void *ctx, const char *str, ...); -typedef void (*_glapi_proc)(void); /* generic function pointer */ - #if defined (GLX_USE_TLS) @@ -140,9 +137,9 @@ extern void _glapi_check_table(const struct _glapi_table *table); -extern GLboolean -_glapi_add_entrypoint(const char *funcName, GLuint offset); - +extern int +_glapi_add_dispatch( const char * const * function_names, + const char * parameter_signature ); extern GLint _glapi_get_proc_offset(const char *funcName); |