diff options
Diffstat (limited to 'src/mesa/glapi/glapi.c')
-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) { |