summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/draw/draw_vb.c
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2007-07-12 13:32:31 -0600
committerBrian <brian.paul@tungstengraphics.com>2007-07-12 13:32:31 -0600
commitea470eec86715cd2bc9aa86d36e6ea803d0d4017 (patch)
treea947814c588475299fc4b7f5fc41681d652838d1 /src/mesa/pipe/draw/draw_vb.c
parent86352ff70d8c9a31fe0ebb4d02ce4bb4644fe54a (diff)
Rename prim_stage -> draw_stage
Diffstat (limited to 'src/mesa/pipe/draw/draw_vb.c')
-rw-r--r--src/mesa/pipe/draw/draw_vb.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mesa/pipe/draw/draw_vb.c b/src/mesa/pipe/draw/draw_vb.c
index 67e196618a..ac721c589d 100644
--- a/src/mesa/pipe/draw/draw_vb.c
+++ b/src/mesa/pipe/draw/draw_vb.c
@@ -88,7 +88,7 @@ static void draw_set_prim( struct draw_context *draw,
-static void do_quad( struct prim_stage *first,
+static void do_quad( struct draw_stage *first,
struct vertex_header *v0,
struct vertex_header *v1,
struct vertex_header *v2,
@@ -128,7 +128,7 @@ static void draw_indexed_prim( struct draw_context *draw,
const GLuint *elts,
GLuint count )
{
- struct prim_stage * const first = draw->pipeline.first;
+ struct draw_stage * const first = draw->pipeline.first;
struct prim_header prim;
GLuint i;
@@ -290,7 +290,7 @@ static void draw_prim( struct draw_context *draw,
GLuint start,
GLuint count )
{
- struct prim_stage * const first = draw->pipeline.first;
+ struct draw_stage * const first = draw->pipeline.first;
struct prim_header prim;
GLuint i;
@@ -698,7 +698,7 @@ void draw_set_vertex_attributes( struct draw_context *draw,
#define MAX_VERTEX_SIZE ((2 + FRAG_ATTRIB_MAX) * 4 * sizeof(GLfloat))
-void prim_alloc_tmps( struct prim_stage *stage, GLuint nr )
+void draw_alloc_tmps( struct draw_stage *stage, GLuint nr )
{
stage->nr_tmps = nr;
@@ -713,7 +713,7 @@ void prim_alloc_tmps( struct prim_stage *stage, GLuint nr )
}
}
-void prim_free_tmps( struct prim_stage *stage )
+void draw_free_tmps( struct draw_stage *stage )
{
if (stage->tmp) {
FREE(stage->tmp[0]);