summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/r600/r600_pipe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_pipe.c b/src/gallium/drivers/r600/r600_pipe.c
index 1d9111d004b..e83ba32ef5a 100644
--- a/src/gallium/drivers/r600/r600_pipe.c
+++ b/src/gallium/drivers/r600/r600_pipe.c
@@ -735,6 +735,6 @@ struct pipe_screen *r600_screen_create(struct radeon_winsys *ws)
if (rscreen->b.debug_flags & DBG_TEST_DMA)
r600_test_dma(&rscreen->b);
- r600_query_fix_enabled_rb_mask(rscreen);
+ r600_query_fix_enabled_rb_mask(&rscreen->b);
return &rscreen->b.b;
}