From: Michal Krol Date: Fri, 10 Apr 2009 06:54:47 +0000 (+0200) Subject: draw: Fix vertex_header initialisation. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f4cc0692e6f285515e6a86367cf771be30665797;p=mesa.git draw: Fix vertex_header initialisation. --- diff --git a/src/gallium/auxiliary/draw/draw_pt_fetch.c b/src/gallium/auxiliary/draw/draw_pt_fetch.c index 058caf7dcc3..505d32f2c32 100644 --- a/src/gallium/auxiliary/draw/draw_pt_fetch.c +++ b/src/gallium/auxiliary/draw/draw_pt_fetch.c @@ -114,7 +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, 0, 0xffff }; + static struct vertex_header vh = { 0, 1, 0, UNDEFINED_VERTEX_ID, { .0f, .0f, .0f, .0f } }; fetch->translate->set_buffer(fetch->translate, draw->pt.nr_vertex_buffers, &vh,