summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/draw/draw_pt_fetch.c
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2008-06-10 16:56:32 +0100
committerKeith Whitwell <keith@tungstengraphics.com>2008-06-10 16:56:32 +0100
commitaa7c21a45b90e6e502c4967f892f1691411d761f (patch)
treefa0109cc836f4842d302cf4fd5e7b497fc327d2d /src/gallium/auxiliary/draw/draw_pt_fetch.c
parentad44e68706877ab06929747e7a82c718c1c27e02 (diff)
Revert "draw: no need to rearrange most primitives in vcache for flatshade-first"
This reverts commit ad44e68706877ab06929747e7a82c718c1c27e02.
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_pt_fetch.c')
-rw-r--r--src/gallium/auxiliary/draw/draw_pt_fetch.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/gallium/auxiliary/draw/draw_pt_fetch.c b/src/gallium/auxiliary/draw/draw_pt_fetch.c
index b8fd3aa1d8..07f4c99164 100644
--- a/src/gallium/auxiliary/draw/draw_pt_fetch.c
+++ b/src/gallium/auxiliary/draw/draw_pt_fetch.c
@@ -114,10 +114,7 @@ void draw_pt_fetch_prepare( struct pt_fetch *fetch,
fetch->translate = translate_cache_find(fetch->cache, &key);
{
- static struct vertex_header vh = { 0,
- 1, /* edgeflag */
- 0,
- 0xffff };
+ static struct vertex_header vh = { 0, 1, 0, 0xffff };
fetch->translate->set_buffer(fetch->translate,
draw->pt.nr_vertex_buffers,
&vh,