projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c2d1e6
)
draw: Fix vertex_header initialisation.
author
Michal Krol
<michal@vmware.com>
Fri, 10 Apr 2009 06:54:47 +0000
(08:54 +0200)
committer
Michal Krol
<michal@vmware.com>
Fri, 10 Apr 2009 07:07:17 +0000
(09:07 +0200)
src/gallium/auxiliary/draw/draw_pt_fetch.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/draw/draw_pt_fetch.c
b/src/gallium/auxiliary/draw/draw_pt_fetch.c
index 058caf7dcc34eb065823440b801db45b432b1573..505d32f2c32bf94ba33a834c7f76bdeac571adf7 100644
(file)
--- 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,