summaryrefslogtreecommitdiffstats
path: root/src/gallium/tests/graw/fs-frontface.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/tests/graw/fs-frontface.c')
-rw-r--r--src/gallium/tests/graw/fs-frontface.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/tests/graw/fs-frontface.c b/src/gallium/tests/graw/fs-frontface.c
index d46ce554069..5f9d8d2d910 100644
--- a/src/gallium/tests/graw/fs-frontface.c
+++ b/src/gallium/tests/graw/fs-frontface.c
@@ -86,6 +86,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;