summaryrefslogtreecommitdiff
path: root/src/mesa/glapi/glprocs.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/glapi/glprocs.h')
-rw-r--r--src/mesa/glapi/glprocs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/glapi/glprocs.h b/src/mesa/glapi/glprocs.h
index 4fdf2f0428..6bc07ede37 100644
--- a/src/mesa/glapi/glprocs.h
+++ b/src/mesa/glapi/glprocs.h
@@ -33,13 +33,13 @@
typedef struct {
int Name_offset;
#ifdef NEED_FUNCTION_POINTER
- void * Address;
+ _glapi_proc Address;
#endif
unsigned int Offset;
} glprocs_table_t;
#ifdef NEED_FUNCTION_POINTER
-# define NAME_FUNC_OFFSET(n,f,o) { n , (void *) f , o }
+# define NAME_FUNC_OFFSET(n,f,o) { n , (_glapi_proc) f , o }
#else
# define NAME_FUNC_OFFSET(n,f,o) { n , o }
#endif