summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_screen.c
diff options
context:
space:
mode:
authorCorbin Simpson <[email protected]>2009-03-10 01:54:24 -0700
committerCorbin Simpson <[email protected]>2009-03-10 01:54:24 -0700
commitd559796d6f13579ecf921a63d9f0c6c6342dc230 (patch)
treed9df0e6e145a5dc75c0fd62975cf3a3f5909a5a0 /src/gallium/drivers/r300/r300_screen.c
parentfdfde00cd8e1465a214062e38b715787919de6e5 (diff)
r300-gallium: Initial, broken, query setup.
Not going to bother unbreaking it here until it's unbroken elsewhere.
Diffstat (limited to 'src/gallium/drivers/r300/r300_screen.c')
-rw-r--r--src/gallium/drivers/r300/r300_screen.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/drivers/r300/r300_screen.c b/src/gallium/drivers/r300/r300_screen.c
index 3c91967a72e..d2c5998c261 100644
--- a/src/gallium/drivers/r300/r300_screen.c
+++ b/src/gallium/drivers/r300/r300_screen.c
@@ -103,8 +103,7 @@ static int r300_get_param(struct pipe_screen* pscreen, int param)
case PIPE_CAP_MAX_RENDER_TARGETS:
return 4;
case PIPE_CAP_OCCLUSION_QUERY:
- /* IN THEORY */
- return 0;
+ return 1;
case PIPE_CAP_TEXTURE_SHADOW_MAP:
/* IN THEORY */
return 0;