draw: default edgeflag should be one
authorKeith Whitwell <keith@tungstengraphics.com>
Thu, 24 Apr 2008 20:13:56 +0000 (21:13 +0100)
committerKeith Whitwell <keith@tungstengraphics.com>
Thu, 24 Apr 2008 20:14:23 +0000 (21:14 +0100)
src/gallium/auxiliary/draw/draw_pt_fetch.c

index 9f74806e11c579428ce0362b18ab6b75bb3283a2..1f765b73adf715626c34aa54afbb2079d4088f0e 100644 (file)
@@ -115,7 +115,7 @@ void draw_pt_fetch_prepare( struct pt_fetch *fetch,
       fetch->translate = translate_cache_find(fetch->cache, &key);
 
       {
-        static struct vertex_header vh = { 0, 0, 0, 0xffff };
+        static struct vertex_header vh = { 0, 1, 0, 0xffff };
         fetch->translate->set_buffer(fetch->translate,
                                      draw->pt.nr_vertex_buffers,
                                      &vh,