python: bindings for draw_range_elements.

This commit is contained in:
José Fonseca
2008-08-20 14:02:43 +01:00
parent 815cdcfbc0
commit 1d881b8e84
@@ -209,6 +209,16 @@ struct st_context {
mode, start, count);
}
void draw_range_elements( struct st_buffer *indexBuffer,
unsigned indexSize, unsigned minIndex, unsigned maxIndex,
unsigned mode, unsigned start, unsigned count)
{
$self->pipe->draw_range_elements($self->pipe,
indexBuffer->buffer,
indexSize, minIndex, maxIndex,
mode, start, count);
}
void draw_vertices(unsigned prim,
unsigned num_verts,
unsigned num_attribs,