summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2008-04-19 17:16:41 +0100
committerKeith Whitwell <keith@tungstengraphics.com>2008-04-19 17:16:41 +0100
commitdcf6f776ce32b89b7ff784bb38030bd29698e005 (patch)
tree9d784ae2c360bf75cb2eca3066de505457d4404c
parent2dae208fb19e79c7446a29ee5dee53e50283b57c (diff)
draw: make draw_reset_vertex_ids private to the draw_pipe_* code
-rw-r--r--src/gallium/auxiliary/draw/draw_pipe.c2
-rw-r--r--src/gallium/auxiliary/draw/draw_pipe.h2
-rw-r--r--src/gallium/auxiliary/draw/draw_private.h1
3 files changed, 3 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/draw/draw_pipe.c b/src/gallium/auxiliary/draw/draw_pipe.c
index 3fae908514..0c0840af0c 100644
--- a/src/gallium/auxiliary/draw/draw_pipe.c
+++ b/src/gallium/auxiliary/draw/draw_pipe.c
@@ -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)
{
diff --git a/src/gallium/auxiliary/draw/draw_pipe.h b/src/gallium/auxiliary/draw/draw_pipe.h
index 5b97ca5c8c..f2749b34bb 100644
--- a/src/gallium/auxiliary/draw/draw_pipe.h
+++ b/src/gallium/auxiliary/draw/draw_pipe.h
@@ -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 );
diff --git a/src/gallium/auxiliary/draw/draw_private.h b/src/gallium/auxiliary/draw/draw_private.h
index 59635d643b..6cf3e54e28 100644
--- a/src/gallium/auxiliary/draw/draw_private.h
+++ b/src/gallium/auxiliary/draw/draw_private.h
@@ -214,7 +214,6 @@ struct draw_context
-extern void draw_reset_vertex_ids( struct draw_context *draw );