summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2011-05-26 19:25:44 -0600
committerBrian Paul <[email protected]>2011-05-26 19:25:44 -0600
commit848bcd2e8c0232b7ab50da75059cd1dacbdb3db3 (patch)
tree49e73a805d5fa42a90d1bb00c8fa23722d217d47 /src
parentf7b3f40b70dc7dd602897d364011089047583c5d (diff)
mesa: simplify query object display list dispatch setup
Diffstat (limited to 'src')
-rw-r--r--src/mesa/main/dlist.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/mesa/main/dlist.c b/src/mesa/main/dlist.c
index deb30ed5cc0..226bb6837b0 100644
--- a/src/mesa/main/dlist.c
+++ b/src/mesa/main/dlist.c
@@ -10053,15 +10053,11 @@ _mesa_create_save_table(void)
#endif
#if FEATURE_queryobj
+ _mesa_init_queryobj_dispatch(table); /* glGetQuery, etc */
SET_BeginQueryARB(table, save_BeginQueryARB);
SET_EndQueryARB(table, save_EndQueryARB);
- SET_GenQueriesARB(table, _mesa_GenQueriesARB);
- SET_DeleteQueriesARB(table, _mesa_DeleteQueriesARB);
- SET_IsQueryARB(table, _mesa_IsQueryARB);
- SET_GetQueryivARB(table, _mesa_GetQueryivARB);
- SET_GetQueryObjectivARB(table, _mesa_GetQueryObjectivARB);
- SET_GetQueryObjectuivARB(table, _mesa_GetQueryObjectuivARB);
#endif
+
SET_DrawBuffersARB(table, save_DrawBuffersARB);
#if FEATURE_EXT_framebuffer_blit