diff options
author | Marek Olšák <[email protected]> | 2017-06-21 00:30:21 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2017-06-23 19:50:20 +0200 |
commit | 76f379330acc3993f865ea77dfb0b5bcf47b6697 (patch) | |
tree | cd642be3749ad9ad1be418acbb057836b4b22902 /src/gallium/state_trackers/dri/dri2.c | |
parent | 516488bb51759e581a7aa2858278e6b267c1f52f (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/dri/dri2.c')
-rw-r--r-- | src/gallium/state_trackers/dri/dri2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/dri/dri2.c b/src/gallium/state_trackers/dri/dri2.c index c5e69d639b1..2d0e78cfdda 100644 --- a/src/gallium/state_trackers/dri/dri2.c +++ b/src/gallium/state_trackers/dri/dri2.c @@ -2026,7 +2026,7 @@ dri2_init_screen(__DRIscreen * sPriv) goto free_screen; if (pipe_loader_drm_probe_fd(&screen->dev, fd)) - pscreen = pipe_loader_create_screen(screen->dev); + pscreen = pipe_loader_create_screen(screen->dev, 0); if (!pscreen) goto release_pipe; @@ -2117,7 +2117,7 @@ dri_kms_init_screen(__DRIscreen * sPriv) goto free_screen; if (pipe_loader_sw_probe_kms(&screen->dev, fd)) - pscreen = pipe_loader_create_screen(screen->dev); + pscreen = pipe_loader_create_screen(screen->dev, 0); if (!pscreen) goto release_pipe; |