From 7582448016e34c76ce6e35f10ba9103439bac36e Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Mon, 14 Feb 2011 13:53:09 -0800 Subject: [PATCH] graw: remove pipe_vertex_buffer::max_index This is a follow-up to commit cdca3c58aa2d9549f5188910e2a77b438516714f. --- src/gallium/tests/graw/quad-sample.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/gallium/tests/graw/quad-sample.c b/src/gallium/tests/graw/quad-sample.c index d03a2a430b1..3c6458b434e 100644 --- a/src/gallium/tests/graw/quad-sample.c +++ b/src/gallium/tests/graw/quad-sample.c @@ -99,7 +99,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, -- 2.30.2