summaryrefslogtreecommitdiffstats
path: root/src/gallium/tests/trivial/tri.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2017-02-10 01:09:27 +0100
committerMarek Olšák <[email protected]>2017-02-14 21:47:51 +0100
commite0f95ddd3e1217e5710cdd12e733b6440592cc7d (patch)
tree28356a6fbc3fb384b9465e365a8d52f7dda59c13 /src/gallium/tests/trivial/tri.c
parent0561b3c75af2e4bb216b686bf62ae9d89c584dc8 (diff)
gallium: let state trackers tell u_vbuf whether user VBOs are possible
This can affect whether u_vbuf will be enabled or not. Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/tests/trivial/tri.c')
-rw-r--r--src/gallium/tests/trivial/tri.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/tests/trivial/tri.c b/src/gallium/tests/trivial/tri.c
index 914f5e75fa9..a2031696f02 100644
--- a/src/gallium/tests/trivial/tri.c
+++ b/src/gallium/tests/trivial/tri.c
@@ -96,7 +96,7 @@ static void init_prog(struct program *p)
/* create the pipe driver context and cso context */
p->pipe = p->screen->context_create(p->screen, NULL, 0);
- p->cso = cso_create_context(p->pipe);
+ p->cso = cso_create_context(p->pipe, 0);
/* set clear color */
p->clear_color.f[0] = 0.3;