Mesa (master): graw: remove pipe_vertex_buffer::max_index

Vinson Lee vlee at kemper.freedesktop.org
Mon Feb 14 21:53:56 UTC 2011


Module: Mesa
Branch: master
Commit: 7582448016e34c76ce6e35f10ba9103439bac36e
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7582448016e34c76ce6e35f10ba9103439bac36e

Author: Vinson Lee <vlee at vmware.com>
Date:   Mon Feb 14 13:53:09 2011 -0800

graw: remove pipe_vertex_buffer::max_index

This is a follow-up to commit cdca3c58aa2d9549f5188910e2a77b438516714f.

---

 src/gallium/tests/graw/quad-sample.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/src/gallium/tests/graw/quad-sample.c b/src/gallium/tests/graw/quad-sample.c
index d03a2a4..3c6458b 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,




More information about the mesa-commit mailing list