summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2004-11-27 03:51:25 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2004-11-27 03:51:25 +0000
commit7ee79c80ea19a7df6069265fc3656f0b29e78d7a (patch)
tree3860b5021a07000978dda0acafedcd54a0198899 /src
parent767e15a78afdb2042cc5eb693afb5791c046c995 (diff)
use _glapi_proc
Diffstat (limited to 'src')
-rw-r--r--src/mesa/main/state.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/mesa/main/state.c b/src/mesa/main/state.c
index e5625ef056..517cf6819c 100644
--- a/src/mesa/main/state.c
+++ b/src/mesa/main/state.c
@@ -1,6 +1,6 @@
/*
* Mesa 3-D graphics library
- * Version: 6.2
+ * Version: 6.3
*
* Copyright (C) 1999-2004 Brian Paul All Rights Reserved.
*
@@ -89,8 +89,6 @@
#endif
#include "debug.h"
-/* #include "math/m_matrix.h" */
-/* #include "math/m_xform.h" */
/**********************************************************************/
@@ -122,11 +120,10 @@ generic_noop(void)
void
_mesa_init_no_op_table(struct _glapi_table *table, GLuint tableSize)
{
- typedef void (*func_ptr_t)();
GLuint i;
- func_ptr_t *dispatch = (func_ptr_t *) table;
+ _glapi_proc *dispatch = (_glapi_proc *) table;
for (i = 0; i < tableSize; i++) {
- dispatch[i] = (func_ptr_t)generic_noop;
+ dispatch[i] = (_glapi_proc) generic_noop;
}
}