summaryrefslogtreecommitdiffstats
path: root/src/gallium/tests/graw/tex-srgb.c
diff options
context:
space:
mode:
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 9d3af94800e..503350a68d8 100644
--- a/src/gallium/tests/graw/tex-srgb.c
+++ b/src/gallium/tests/graw/tex-srgb.c
@@ -73,7 +73,7 @@ set_vertices(struct vertex *verts, unsigned num_verts)
vbuf.stride = sizeof(struct vertex);
vbuf.buffer_offset = 0;
- vbuf.buffer = pipe_buffer_create_with_data(info.ctx,
+ vbuf.buffer.resource = pipe_buffer_create_with_data(info.ctx,
PIPE_BIND_VERTEX_BUFFER,
PIPE_USAGE_DEFAULT,
num_verts * sizeof(struct vertex),