From 24083f4e4702f4e9b8cc1679139d45ee771a0f16 Mon Sep 17 00:00:00 2001 From: Brian Date: Wed, 15 Aug 2007 18:53:00 -0600 Subject: [PATCH] comment --- src/mesa/pipe/draw/draw_vb.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/mesa/pipe/draw/draw_vb.c b/src/mesa/pipe/draw/draw_vb.c index dfd1f22..23a5e3f 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 ) { -- 2.7.4