[Mesa-dev] [PATCH 3/6] draw: update a comment about index buffers

Brian Paul brianp at vmware.com
Fri Dec 7 13:09:15 PST 2012


---
 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,
-- 
1.7.3.4



More information about the mesa-dev mailing list