diff options
Diffstat (limited to 'src/gallium/tests/graw/tri-instanced.c')
-rw-r--r-- | src/gallium/tests/graw/tri-instanced.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/tests/graw/tri-instanced.c b/src/gallium/tests/graw/tri-instanced.c index d3de15c32c0..ce81c9c0217 100644 --- a/src/gallium/tests/graw/tri-instanced.c +++ b/src/gallium/tests/graw/tri-instanced.c @@ -130,6 +130,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); /* vertex data */ vbuf[0].stride = sizeof( struct vertex ); |