projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
graw: Ensure new members are zeroed.
[mesa.git]
/
src
/
gallium
/
tests
/
graw
/
fs-write-z.c
diff --git
a/src/gallium/tests/graw/fs-write-z.c
b/src/gallium/tests/graw/fs-write-z.c
index 3eee2b2ab4ee03e131e5d8f3c627d85687e39c36..0bcecd7436aba96be19f284270fbf603b99953f4 100644
(file)
--- a/
src/gallium/tests/graw/fs-write-z.c
+++ b/
src/gallium/tests/graw/fs-write-z.c
@@
-90,6
+90,7
@@
set_vertices(void)
handle = info.ctx->create_vertex_elements_state(info.ctx, 2, ve);
info.ctx->bind_vertex_elements_state(info.ctx, handle);
+ memset(&vbuf, 0, sizeof vbuf);
vbuf.stride = sizeof(struct vertex);
vbuf.buffer_offset = 0;