Mesa (master): draw: update a comment about index buffers
Brian Paul
brianp at kemper.freedesktop.org
Sat Dec 8 13:58:36 UTC 2012
Module: Mesa
Branch: master
Commit: b46b44b0a90db3d25e95c0ff1c6997374a3c45ee
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b46b44b0a90db3d25e95c0ff1c6997374a3c45ee
Author: Brian Paul <brianp at vmware.com>
Date: Fri Dec 7 12:26:18 2012 -0700
draw: update a comment about index buffers
Reviewed-by: Jose Fonseca <jfonseca at vmware.com>
---
src/gallium/auxiliary/draw/draw_pt.c | 5 ++---
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 08e06e8..23cdf36 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,
More information about the mesa-commit
mailing list