summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/pipe-loader/pipe_radeonsi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/targets/pipe-loader/pipe_radeonsi.c')
-rw-r--r--src/gallium/targets/pipe-loader/pipe_radeonsi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/targets/pipe-loader/pipe_radeonsi.c b/src/gallium/targets/pipe-loader/pipe_radeonsi.c
index 2d33d0e336c..2defc521b24 100644
--- a/src/gallium/targets/pipe-loader/pipe_radeonsi.c
+++ b/src/gallium/targets/pipe-loader/pipe_radeonsi.c
@@ -12,10 +12,10 @@ create_screen(int fd, const struct pipe_screen_config *config)
struct radeon_winsys *rw;
/* First, try amdgpu. */
- rw = amdgpu_winsys_create(fd, flags, radeonsi_screen_create);
+ rw = amdgpu_winsys_create(fd, config, radeonsi_screen_create);
if (!rw)
- rw = radeon_drm_winsys_create(fd, flags, radeonsi_screen_create);
+ rw = radeon_drm_winsys_create(fd, config, radeonsi_screen_create);
return rw ? debug_screen_wrap(rw->screen) : NULL;
}