From: Vinson Lee Date: Mon, 14 Feb 2011 21:53:09 +0000 (-0800) Subject: graw: remove pipe_vertex_buffer::max_index X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7582448016e34c76ce6e35f10ba9103439bac36e;p=mesa.git graw: remove pipe_vertex_buffer::max_index This is a follow-up to commit cdca3c58aa2d9549f5188910e2a77b438516714f. --- 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,