diff options
author | Keith Whitwell <[email protected]> | 2008-04-19 17:16:41 +0100 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2008-04-19 17:16:41 +0100 |
commit | dcf6f776ce32b89b7ff784bb38030bd29698e005 (patch) | |
tree | 9d784ae2c360bf75cb2eca3066de505457d4404c | |
parent | 2dae208fb19e79c7446a29ee5dee53e50283b57c (diff) |
draw: make draw_reset_vertex_ids private to the draw_pipe_* code
-rw-r--r-- | src/gallium/auxiliary/draw/draw_pipe.c | 2 | ||||
-rw-r--r-- | src/gallium/auxiliary/draw/draw_pipe.h | 2 | ||||
-rw-r--r-- | src/gallium/auxiliary/draw/draw_private.h | 1 |
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 3fae9085146..0c0840af0cc 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 5b97ca5c8cf..f2749b34bbb 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 59635d643ba..6cf3e54e28d 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 ); |