draw: make draw_reset_vertex_ids private to the draw_pipe_* code
authorKeith Whitwell <keith@tungstengraphics.com>
Sat, 19 Apr 2008 16:16:41 +0000 (17:16 +0100)
committerKeith Whitwell <keith@tungstengraphics.com>
Sat, 19 Apr 2008 16:16:41 +0000 (17:16 +0100)
src/gallium/auxiliary/draw/draw_pipe.c
src/gallium/auxiliary/draw/draw_pipe.h
src/gallium/auxiliary/draw/draw_private.h

index 3fae908514637d662916968d126c4c6de1e2b09f..0c0840af0ccb550c1102602da4fd607774736c35 100644 (file)
@@ -196,6 +196,8 @@ static void do_triangle( struct draw_context *draw,
 
 
 /* Reset vertex ids.  This is basically a type of flush.
+ *
+ * Called only from draw_pipe_vbuf.c
  */
 void draw_reset_vertex_ids(struct draw_context *draw)
 {
index 5b97ca5c8cf34986d6946d5061330bc0177a30e2..f2749b34bbb4ad4a63a998f0f671946df9da7637 100644 (file)
@@ -81,9 +81,9 @@ extern struct draw_stage *draw_validate_stage( struct draw_context *context );
 
 
 extern void draw_free_temp_verts( struct draw_stage *stage );
-
 extern void draw_alloc_temp_verts( struct draw_stage *stage, unsigned nr );
 
+extern void draw_reset_vertex_ids( struct draw_context *draw );
 
 
 
index 59635d643bad564a829bc313c9d5f11f8662c550..6cf3e54e28d9ebaa0f153f45314d68dbdc8c33a0 100644 (file)
@@ -214,7 +214,6 @@ struct draw_context
 
 
 
-extern void draw_reset_vertex_ids( struct draw_context *draw );