summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/d3dadapter9/drm.c
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/targets/d3dadapter9/drm.c
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/targets/d3dadapter9/drm.c')
-rw-r--r--src/gallium/targets/d3dadapter9/drm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/targets/d3dadapter9/drm.c b/src/gallium/targets/d3dadapter9/drm.c
index 0434d8e4c17..27c3fb16751 100644
--- a/src/gallium/targets/d3dadapter9/drm.c
+++ b/src/gallium/targets/d3dadapter9/drm.c
@@ -229,7 +229,7 @@ drm_create_adapter( int fd,
return D3DERR_DRIVERINTERNALERROR;
}
- ctx->base.hal = pipe_loader_create_screen(ctx->dev);
+ ctx->base.hal = pipe_loader_create_screen(ctx->dev, 0);
if (!ctx->base.hal) {
ERR("Unable to load requested driver.\n");
drm_destroy(&ctx->base);
@@ -312,7 +312,7 @@ drm_create_adapter( int fd,
/* wrap it to create a software screen that can share resources */
if (pipe_loader_sw_probe_wrapped(&ctx->swdev, ctx->base.hal))
- ctx->base.ref = pipe_loader_create_screen(ctx->swdev);
+ ctx->base.ref = pipe_loader_create_screen(ctx->swdev, 0);
if (!ctx->base.ref) {
ERR("Couldn't wrap drm screen to swrast screen. Software devices "