aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/tests/graw/tex-swizzle.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/tests/graw/tex-swizzle.c')
-rw-r--r--src/gallium/tests/graw/tex-swizzle.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/tests/graw/tex-swizzle.c b/src/gallium/tests/graw/tex-swizzle.c
index 0709447f33e..7dc35eb43a3 100644
--- a/src/gallium/tests/graw/tex-swizzle.c
+++ b/src/gallium/tests/graw/tex-swizzle.c
@@ -51,6 +51,7 @@ static void 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;