summaryrefslogtreecommitdiffstats
path: root/src/mesa/glapi/gl_procs.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/glapi/gl_procs.py')
-rw-r--r--src/mesa/glapi/gl_procs.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/glapi/gl_procs.py b/src/mesa/glapi/gl_procs.py
index e5f575211f2..b8a6253eff4 100644
--- a/src/mesa/glapi/gl_procs.py
+++ b/src/mesa/glapi/gl_procs.py
@@ -52,13 +52,13 @@ class PrintGlProcs(gl_XML.FilterGLAPISpecBase):
print 'typedef struct {'
print ' int Name_offset;'
print '#ifdef NEED_FUNCTION_POINTER'
- print ' void * Address;'
+ print ' _glapi_proc Address;'
print '#endif'
print ' unsigned int Offset;'
print '} glprocs_table_t;'
print ''
print '#ifdef NEED_FUNCTION_POINTER'
- print '# define NAME_FUNC_OFFSET(n,f,o) { n , (void *) f , o }'
+ print '# define NAME_FUNC_OFFSET(n,f,o) { n , (_glapi_proc) f , o }'
print '#else'
print '# define NAME_FUNC_OFFSET(n,f,o) { n , o }'
print '#endif'