summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2011-02-14 14:10:05 -0800
committerVinson Lee <[email protected]>2011-02-14 14:10:05 -0800
commitec21eabe2a343b875c4c23b410fea8bfc204f917 (patch)
treede454a37fd046544cd663913ae03209c58f46fa4 /src/gallium/state_trackers
parent7582448016e34c76ce6e35f10ba9103439bac36e (diff)
st/python: remove pipe_vertex_buffer::max_index
This is a follow-up to commit cdca3c58aa2d9549f5188910e2a77b438516714f.
Diffstat (limited to 'src/gallium/state_trackers')
-rw-r--r--src/gallium/state_trackers/python/p_context.i3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gallium/state_trackers/python/p_context.i b/src/gallium/state_trackers/python/p_context.i
index d694651eef7..56681a02f00 100644
--- a/src/gallium/state_trackers/python/p_context.i
+++ b/src/gallium/state_trackers/python/p_context.i
@@ -268,7 +268,6 @@ struct st_context {
void set_vertex_buffer(unsigned index,
unsigned stride,
- unsigned max_index,
unsigned buffer_offset,
struct pipe_resource *buffer)
{
@@ -277,7 +276,6 @@ struct st_context {
memset(&state, 0, sizeof(state));
state.stride = stride;
- state.max_index = max_index;
state.buffer_offset = buffer_offset;
state.buffer = buffer;
@@ -378,7 +376,6 @@ struct st_context {
vbuffer.buffer = vbuf;
vbuffer.stride = num_attribs * 4 * sizeof(float); /* vertex size */
vbuffer.buffer_offset = 0;
- vbuffer.max_index = num_verts - 1;
pipe->set_vertex_buffers(pipe, 1, &vbuffer);
/* draw */