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 d03a2a430b1469cf6f93af7cb8a66f4b29f75299..3c6458b434e8f06b8798badcd79457e277c34fc4 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,