diff options
author | Brian Paul <[email protected]> | 2004-11-27 03:51:11 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2004-11-27 03:51:11 +0000 |
commit | 767e15a78afdb2042cc5eb693afb5791c046c995 (patch) | |
tree | 43674d5e1692db5bf8c4c7036b6b0580bef5f7e5 /src/mesa/glapi/glprocs.h | |
parent | 1136412013d76a5cc197a10fcab99da03c642378 (diff) |
Use new _glapi_proc typedef instead of void * for function pointers.
Misc clean-ups in glapi.c
Diffstat (limited to 'src/mesa/glapi/glprocs.h')
-rw-r--r-- | src/mesa/glapi/glprocs.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/glapi/glprocs.h b/src/mesa/glapi/glprocs.h index 4fdf2f04283..6bc07ede37c 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 |