diff options
Diffstat (limited to 'src/gallium/tests/graw/quad-sample.c')
-rw-r--r-- | src/gallium/tests/graw/quad-sample.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/tests/graw/quad-sample.c b/src/gallium/tests/graw/quad-sample.c index 03f51fc9554..79174204dbb 100644 --- a/src/gallium/tests/graw/quad-sample.c +++ b/src/gallium/tests/graw/quad-sample.c @@ -99,7 +99,7 @@ static void set_vertices( void ) vbuf.stride = sizeof( struct vertex ); vbuf.buffer_offset = 0; - vbuf.buffer = pipe_buffer_create_with_data(ctx, + vbuf.buffer.resource = pipe_buffer_create_with_data(ctx, PIPE_BIND_VERTEX_BUFFER, PIPE_USAGE_DEFAULT, sizeof(vertices), |