summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa')
-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 dfd1f22eb3..23a5e3fc3b 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 )
{