graw: remove pipe_vertex_buffer::max_index
authorVinson Lee <vlee@vmware.com>
Mon, 14 Feb 2011 21:53:09 +0000 (13:53 -0800)
committerVinson Lee <vlee@vmware.com>
Mon, 14 Feb 2011 21:53:09 +0000 (13:53 -0800)
This is a follow-up to commit cdca3c58aa2d9549f5188910e2a77b438516714f.

src/gallium/tests/graw/quad-sample.c

index d03a2a4..3c6458b 100644 (file)
@@ -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,