summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/draw/draw_vb.c
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-08-15 18:53:00 -0600
committerBrian <[email protected]>2007-08-15 19:04:44 -0600
commit24083f4e4702f4e9b8cc1679139d45ee771a0f16 (patch)
tree7bf8e88b2b7cb77024228ea93268f41d38e68b1e /src/mesa/pipe/draw/draw_vb.c
parent058b978a5ae2a56e09fed6335b686c654444f4ac (diff)
comment
Diffstat (limited to 'src/mesa/pipe/draw/draw_vb.c')
-rw-r--r--src/mesa/pipe/draw/draw_vb.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mesa/pipe/draw/draw_vb.c b/src/mesa/pipe/draw/draw_vb.c
index dfd1f22eb31..23a5e3fc3b2 100644
--- a/src/mesa/pipe/draw/draw_vb.c
+++ b/src/mesa/pipe/draw/draw_vb.c
@@ -489,6 +489,9 @@ draw_release_vertices( struct draw_context *draw )
}
+/**
+ * Note: this must match struct vertex_header's layout (I think).
+ */
struct header_dword {
GLuint clipmask:12;
GLuint edgeflag:1;
@@ -802,7 +805,7 @@ void draw_set_vertex_attributes( struct draw_context *draw,
draw->vertex_size = vf_set_vertex_attributes( draw->vf, draw->attrs,
draw->nr_attrs, 0 );
}
-
+
void draw_alloc_tmps( struct draw_stage *stage, GLuint nr )
{