summaryrefslogtreecommitdiffstats
path: root/src/gallium/tests/graw/tri-large.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/tests/graw/tri-large.c')
-rw-r--r--src/gallium/tests/graw/tri-large.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/tests/graw/tri-large.c b/src/gallium/tests/graw/tri-large.c
index 4ccb7c52672..1ca915aa126 100644
--- a/src/gallium/tests/graw/tri-large.c
+++ b/src/gallium/tests/graw/tri-large.c
@@ -59,7 +59,7 @@ static void set_vertices( void )
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,
sizeof(vertices),