summaryrefslogtreecommitdiffstats
path: root/src/gallium/tests/graw/tex-srgb.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2014-02-03 03:42:17 +0100
committerMarek Olšák <[email protected]>2014-02-06 17:37:34 +0100
commitc32114460dbb7f33885c181a0d7dee07b15b8751 (patch)
treefd6d0a17ed48e93e42d61138d0bef80d8577f0a8 /src/gallium/tests/graw/tex-srgb.c
parenteeb5a4a50e1317a7f8d9e168c962ce3b1d7b36f9 (diff)
gallium: remove PIPE_USAGE_STATIC
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/tests/graw/tex-srgb.c')
-rw-r--r--src/gallium/tests/graw/tex-srgb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/tests/graw/tex-srgb.c b/src/gallium/tests/graw/tex-srgb.c
index dce91188ebe..af989d72a2e 100644
--- a/src/gallium/tests/graw/tex-srgb.c
+++ b/src/gallium/tests/graw/tex-srgb.c
@@ -75,7 +75,7 @@ set_vertices(struct vertex *verts, unsigned num_verts)
vbuf.buffer_offset = 0;
vbuf.buffer = pipe_buffer_create_with_data(info.ctx,
PIPE_BIND_VERTEX_BUFFER,
- PIPE_USAGE_STATIC,
+ PIPE_USAGE_DEFAULT,
num_verts * sizeof(struct vertex),
verts);