diff options
Diffstat (limited to 'src/gallium/tests/graw/quad-sample.c')
-rw-r--r-- | src/gallium/tests/graw/quad-sample.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/tests/graw/quad-sample.c b/src/gallium/tests/graw/quad-sample.c index 6f4b9f6e7e8..ca6fe3ec9f2 100644 --- a/src/gallium/tests/graw/quad-sample.c +++ b/src/gallium/tests/graw/quad-sample.c @@ -97,6 +97,7 @@ static void set_vertices( void ) handle = ctx->create_vertex_elements_state(ctx, 2, ve); ctx->bind_vertex_elements_state(ctx, handle); + memset(&vbuf, 0, sizeof vbuf); vbuf.stride = sizeof( struct vertex ); vbuf.buffer_offset = 0; |