summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv50/nv50_screen.c
diff options
context:
space:
mode:
authorBen Skeggs <[email protected]>2009-01-13 10:44:52 +1000
committerBen Skeggs <[email protected]>2009-01-13 13:57:22 +1000
commit918fc55e5f5cbedd3ab8fb3e02b225106c059fa6 (patch)
treec3f670f6c8b4c5d2f86a5a21ab1ef005fd93a8b1 /src/gallium/drivers/nv50/nv50_screen.c
parentd2442016afdc5e3b12b04d912f005ab183f7b8ff (diff)
nv50: occlusion queries
Not quite working, but the general idea is right I think.
Diffstat (limited to 'src/gallium/drivers/nv50/nv50_screen.c')
-rw-r--r--src/gallium/drivers/nv50/nv50_screen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nv50/nv50_screen.c b/src/gallium/drivers/nv50/nv50_screen.c
index e2071103fba..b46619d7861 100644
--- a/src/gallium/drivers/nv50/nv50_screen.c
+++ b/src/gallium/drivers/nv50/nv50_screen.c
@@ -104,7 +104,7 @@ nv50_screen_get_param(struct pipe_screen *pscreen, int param)
case PIPE_CAP_MAX_RENDER_TARGETS:
return 8;
case PIPE_CAP_OCCLUSION_QUERY:
- return 0;
+ return 1;
case PIPE_CAP_TEXTURE_SHADOW_MAP:
return 0;
case PIPE_CAP_MAX_TEXTURE_2D_LEVELS: