summaryrefslogtreecommitdiffstats
path: root/src/gallium/tests/graw/shader-leak.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2017-05-10 19:52:46 +0200
committerMarek Olšák <[email protected]>2017-05-11 17:11:22 +0200
commit479e76bc1f6edd8f988ad003b6ffe43f96870a32 (patch)
tree905affa504d5591905370028098fa64634377ea7 /src/gallium/tests/graw/shader-leak.c
parent709468a8088f7d9b3472ca6993e983a2361b5509 (diff)
gallium/tests: fix build after index buffer changes
for some reason, only scons can build these. Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/tests/graw/shader-leak.c')
-rw-r--r--src/gallium/tests/graw/shader-leak.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/tests/graw/shader-leak.c b/src/gallium/tests/graw/shader-leak.c
index dddb69c7946..fb4344c088e 100644
--- a/src/gallium/tests/graw/shader-leak.c
+++ b/src/gallium/tests/graw/shader-leak.c
@@ -89,7 +89,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),