summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/xa
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2017-06-21 00:30:21 +0200
committerMarek Olšák <[email protected]>2017-06-23 19:50:20 +0200
commit76f379330acc3993f865ea77dfb0b5bcf47b6697 (patch)
treecd642be3749ad9ad1be418acbb057836b4b22902 /src/gallium/state_trackers/xa
parent516488bb51759e581a7aa2858278e6b267c1f52f (diff)
gallium: allow passing 'unsigned flags' to create_screen()
for drirc options Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/xa')
-rw-r--r--src/gallium/state_trackers/xa/xa_tracker.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/xa/xa_tracker.c b/src/gallium/state_trackers/xa/xa_tracker.c
index 03a3abf6835..e5addcf8fef 100644
--- a/src/gallium/state_trackers/xa/xa_tracker.c
+++ b/src/gallium/state_trackers/xa/xa_tracker.c
@@ -162,7 +162,7 @@ xa_tracker_create(int drm_fd)
goto out_no_fd;
if (pipe_loader_drm_probe_fd(&xa->dev, fd))
- xa->screen = pipe_loader_create_screen(xa->dev);
+ xa->screen = pipe_loader_create_screen(xa->dev, 0);
if (!xa->screen)
goto out_no_screen;