diff options
Diffstat (limited to 'src/gallium/tests/graw/tex-srgb.c')
-rw-r--r-- | src/gallium/tests/graw/tex-srgb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/tests/graw/tex-srgb.c b/src/gallium/tests/graw/tex-srgb.c index ea07b8d692d..af3e1c36f15 100644 --- a/src/gallium/tests/graw/tex-srgb.c +++ b/src/gallium/tests/graw/tex-srgb.c @@ -69,6 +69,7 @@ set_vertices(struct vertex *verts, unsigned num_verts) 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; |