summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2017-01-30 13:55:53 +0100
committerSamuel Pitoiset <[email protected]>2017-01-30 18:13:18 +0100
commitaf7fef12f7ae1faa63743acd9fb19e2c024b939c (patch)
tree63c32eae3acc30c7218e1f2a184816c2350f042c /src/gallium/drivers/r600
parentf8bc628b2ceb13c8d1ddfa28b81dbef4159928b6 (diff)
r600: fix a compilation warning in r600_screen_create()
Should be r600_common_screen instead of r600_screen. Fixes: 80157a2c20 ("gallium/radeon: clean up r600_query_init_backend_mask") Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600')
-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;
}