mesa: simplify query object display list dispatch setup
authorBrian Paul <brianp@vmware.com>
Fri, 27 May 2011 01:25:44 +0000 (19:25 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 27 May 2011 01:25:44 +0000 (19:25 -0600)
src/mesa/main/dlist.c

index deb30ed5cc0f6ccc951e4b1d6d84f404b6667384..226bb6837b0c88ec38d1dc4ae18960721fcb73ce 100644 (file)
@@ -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