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 <samuel.pitoiset@gmail.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
This commit is contained in:
Samuel Pitoiset 2017-01-30 13:55:53 +01:00
parent f8bc628b2c
commit af7fef12f7
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}