diff options
author | Keith Whitwell <[email protected]> | 2008-04-08 17:59:28 +0100 |
---|---|---|
committer | Zack Rusin <[email protected]> | 2008-04-10 14:35:47 -0400 |
commit | c95dcc49629b72b95826e87e067d7a48753605fb (patch) | |
tree | c37e51d3537fc62f08e81e18e6f7c18383012933 /src/gallium/auxiliary/draw/draw_vertex.c | |
parent | 7a8ad75c89b45520043693a37d9f0c7e0b24fc5d (diff) |
remove usage of vertex_header
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_vertex.c')
-rw-r--r-- | src/gallium/auxiliary/draw/draw_vertex.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/gallium/auxiliary/draw/draw_vertex.c b/src/gallium/auxiliary/draw/draw_vertex.c index 970adc95e74..168036eee84 100644 --- a/src/gallium/auxiliary/draw/draw_vertex.c +++ b/src/gallium/auxiliary/draw/draw_vertex.c @@ -52,9 +52,6 @@ draw_compute_vertex_size(struct vertex_info *vinfo) switch (vinfo->emit[i]) { case EMIT_OMIT: break; - case EMIT_HEADER: - vinfo->size += sizeof(struct vertex_header) / 4; - break; case EMIT_4UB: /* fall-through */ case EMIT_1F_PSIZE: @@ -71,8 +68,6 @@ draw_compute_vertex_size(struct vertex_info *vinfo) case EMIT_4F: vinfo->size += 4; break; - case EMIT_ALL: - /* fall-through */ default: assert(0); } |