summaryrefslogtreecommitdiffstats
path: root/src/gallium/tests/graw/shader-leak.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/tests/graw/shader-leak.c')
-rw-r--r--src/gallium/tests/graw/shader-leak.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gallium/tests/graw/shader-leak.c b/src/gallium/tests/graw/shader-leak.c
index 9af76f51ea2..a23ca73ac1d 100644
--- a/src/gallium/tests/graw/shader-leak.c
+++ b/src/gallium/tests/graw/shader-leak.c
@@ -88,7 +88,6 @@ static void set_vertices( void )
vbuf.stride = sizeof(struct vertex);
- vbuf.max_index = sizeof(vertices) / vbuf.stride;
vbuf.buffer_offset = 0;
vbuf.buffer = screen->user_buffer_create(screen,
vertices,