summaryrefslogtreecommitdiffstats
path: root/src/gallium/tests/trivial/tri.c
diff options
context:
space:
mode:
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 f93c3f7..062d45d 100644
--- a/src/gallium/tests/trivial/tri.c
+++ b/src/gallium/tests/trivial/tri.c
@@ -122,7 +122,7 @@ static void init_prog(struct program *p)
};
p->vbuf = pipe_buffer_create(p->screen, PIPE_BIND_VERTEX_BUFFER,
- PIPE_USAGE_STATIC, sizeof(vertices));
+ PIPE_USAGE_DEFAULT, sizeof(vertices));
pipe_buffer_write(p->pipe, p->vbuf, 0, sizeof(vertices), vertices);
}