diff options
author | Keith Whitwell <[email protected]> | 2004-06-30 11:48:21 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2004-06-30 11:48:21 +0000 |
commit | 009aa3ef5ea6bc13c903d6f902b7039adef8fc74 (patch) | |
tree | 5a5cf488e21fc1445732af4d86a0f8622c343023 /src/mesa/glapi | |
parent | 8e77da1cd7d63af5e7ffcf7ea220cdaf1bdc8162 (diff) |
Add infrastructure for t_vertex.c codegen. Add an example driver
for this which spits out C code for the generated functions.
Diffstat (limited to 'src/mesa/glapi')
-rw-r--r-- | src/mesa/glapi/glapi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/glapi/glapi.c b/src/mesa/glapi/glapi.c index bba4b22fd6b..2a083949fe0 100644 --- a/src/mesa/glapi/glapi.c +++ b/src/mesa/glapi/glapi.c @@ -291,8 +291,8 @@ _glapi_set_dispatch(struct _glapi_table *dispatch) /* Use the no-op functions if a NULL dispatch table was requested. */ - old_style_dispatch = (struct _glapi_table *) (dispatch == NULL) - ? __glapi_noop_table : dispatch; + old_style_dispatch = (dispatch == NULL) + ? (struct _glapi_table *) __glapi_noop_table : dispatch; #ifdef DEBUG if (dispatch != NULL) { |