diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2004-11-27 03:51:11 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2004-11-27 03:51:11 +0000 |
commit | 767e15a78afdb2042cc5eb693afb5791c046c995 (patch) | |
tree | 43674d5e1692db5bf8c4c7036b6b0580bef5f7e5 /src/mesa/glapi/glprocs.h | |
parent | 1136412013d76a5cc197a10fcab99da03c642378 (diff) | |
download | external_mesa3d-767e15a78afdb2042cc5eb693afb5791c046c995.zip external_mesa3d-767e15a78afdb2042cc5eb693afb5791c046c995.tar.gz external_mesa3d-767e15a78afdb2042cc5eb693afb5791c046c995.tar.bz2 |
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 4fdf2f0..6bc07ed 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 |