diff options
Diffstat (limited to 'src/gallium/tests/trivial')
-rw-r--r-- | src/gallium/tests/trivial/quad-tex.c | 2 | ||||
-rw-r--r-- | src/gallium/tests/trivial/tri.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/tests/trivial/quad-tex.c b/src/gallium/tests/trivial/quad-tex.c index 5ed741bdfd6..1d52aff3439 100644 --- a/src/gallium/tests/trivial/quad-tex.c +++ b/src/gallium/tests/trivial/quad-tex.c @@ -131,7 +131,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); } diff --git a/src/gallium/tests/trivial/tri.c b/src/gallium/tests/trivial/tri.c index f93c3f78710..062d45d2fa4 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); } |