aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/radeon
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2009-08-26 14:16:54 +1000
committerDave Airlie <[email protected]>2009-08-26 14:16:54 +1000
commit674835f184b37ad378ce2e35f1a8326af0facc77 (patch)
tree0126fe1a560866a32bd6a34efe30633f61ca5e99 /src/mesa/drivers/dri/radeon
parentb6df23d8b3e70d86433ba9fc4d87338e1063fe39 (diff)
radeon/r100/r200: actually init the OQ support properly
Diffstat (limited to 'src/mesa/drivers/dri/radeon')
-rw-r--r--src/mesa/drivers/dri/radeon/radeon_context.c1
-rw-r--r--src/mesa/drivers/dri/radeon/radeon_state_init.c1
2 files changed, 2 insertions, 0 deletions
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"