summaryrefslogtreecommitdiffstats
path: root/src/gallium/tests/graw/fs-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/tests/graw/fs-test.c')
-rw-r--r--src/gallium/tests/graw/fs-test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/tests/graw/fs-test.c b/src/gallium/tests/graw/fs-test.c
index 04b57323d8a..f31034406f6 100644
--- a/src/gallium/tests/graw/fs-test.c
+++ b/src/gallium/tests/graw/fs-test.c
@@ -213,6 +213,7 @@ static void set_vertices( void )
handle = ctx->create_vertex_elements_state(ctx, 3, ve);
ctx->bind_vertex_elements_state(ctx, handle);
+ memset(&vbuf, 0, sizeof vbuf);
vbuf.stride = sizeof( struct vertex );
vbuf.buffer_offset = 0;