From 009aa3ef5ea6bc13c903d6f902b7039adef8fc74 Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Wed, 30 Jun 2004 11:48:21 +0000 Subject: Add infrastructure for t_vertex.c codegen. Add an example driver for this which spits out C code for the generated functions. --- src/mesa/glapi/glapi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mesa/glapi/glapi.c') diff --git a/src/mesa/glapi/glapi.c b/src/mesa/glapi/glapi.c index bba4b22fd6..2a083949fe 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) { -- cgit v1.2.3