From: Dave Airlie Date: Wed, 26 Aug 2009 04:16:54 +0000 (+1000) Subject: radeon/r100/r200: actually init the OQ support properly X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=674835f184b37ad378ce2e35f1a8326af0facc77;p=mesa.git radeon/r100/r200: actually init the OQ support properly --- diff --git a/src/mesa/drivers/dri/r200/r200_context.c b/src/mesa/drivers/dri/r200/r200_context.c index 74564d6261f..e402b923ee6 100644 --- a/src/mesa/drivers/dri/r200/r200_context.c +++ b/src/mesa/drivers/dri/r200/r200_context.c @@ -347,6 +347,7 @@ GLboolean r200CreateContext( const __GLcontextModes *glVisual, r200InitStateFuncs(&functions); r200InitTextureFuncs(&functions); r200InitShaderFuncs(&functions); + radeonInitQueryObjFunctions(&functions); if (!radeonInitContext(&rmesa->radeon, &functions, glVisual, driContextPriv, diff --git a/src/mesa/drivers/dri/radeon/radeon_context.c b/src/mesa/drivers/dri/radeon/radeon_context.c index 247e65ba9d0..cbe3416726d 100644 --- a/src/mesa/drivers/dri/radeon/radeon_context.c +++ b/src/mesa/drivers/dri/radeon/radeon_context.c @@ -277,6 +277,7 @@ r100CreateContext( const __GLcontextModes *glVisual, */ _mesa_init_driver_functions( &functions ); radeonInitTextureFuncs( &functions ); + radeonInitQueryObjFunctions(&functions); if (!radeonInitContext(&rmesa->radeon, &functions, glVisual, driContextPriv, diff --git a/src/mesa/drivers/dri/radeon/radeon_state_init.c b/src/mesa/drivers/dri/radeon/radeon_state_init.c index 60fdc215a47..d014fb5c061 100644 --- a/src/mesa/drivers/dri/radeon/radeon_state_init.c +++ b/src/mesa/drivers/dri/radeon/radeon_state_init.c @@ -44,6 +44,7 @@ #include "radeon_tcl.h" #include "radeon_tex.h" #include "radeon_swtcl.h" +#include "radeon_queryobj.h" #include "../r200/r200_reg.h"