summaryrefslogtreecommitdiffstats
path: root/src/gallium/tests/trivial/compute.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/tests/trivial/compute.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/tests/trivial/compute.c')
-rw-r--r--src/gallium/tests/trivial/compute.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/tests/trivial/compute.c b/src/gallium/tests/trivial/compute.c
index 443451e13d2..a2e882cc81d 100644
--- a/src/gallium/tests/trivial/compute.c
+++ b/src/gallium/tests/trivial/compute.c
@@ -76,7 +76,7 @@ static void init_ctx(struct context *ctx)
ret = pipe_loader_probe(&ctx->dev, 1);
assert(ret);
- ctx->screen = pipe_loader_create_screen(ctx->dev);
+ ctx->screen = pipe_loader_create_screen(ctx->dev, 0);
assert(ctx->screen);
ctx->pipe = ctx->screen->context_create(ctx->screen, NULL, 0);