summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2012-12-07 12:26:18 -0700
committerBrian Paul <[email protected]>2012-12-08 06:58:10 -0700
commitb46b44b0a90db3d25e95c0ff1c6997374a3c45ee (patch)
treee0d532e76f24b9f11476b27760dc94380c2b1cb8 /src/gallium
parent122dfc5ee25ec4faf040baf5dc834d144bb3a42c (diff)
draw: update a comment about index buffers
Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/auxiliary/draw/draw_pt.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gallium/auxiliary/draw/draw_pt.c b/src/gallium/auxiliary/draw/draw_pt.c
index 08e06e84aed..23cdf36e1e6 100644
--- a/src/gallium/auxiliary/draw/draw_pt.c
+++ b/src/gallium/auxiliary/draw/draw_pt.c
@@ -443,9 +443,8 @@ draw_arrays_instanced(struct draw_context *draw,
/**
* Draw vertex arrays.
* This is the main entrypoint into the drawing module. If drawing an indexed
- * primitive, the draw_set_index_buffer() and draw_set_mapped_index_buffer()
- * functions should have already been called to specify the element/index
- * buffer information.
+ * primitive, the draw_set_indexes() function should have already been called
+ * to specify the element/index buffer information.
*/
void
draw_vbo(struct draw_context *draw,