diff options
Diffstat (limited to 'src/gallium/tests/graw/vs-test.c')
-rw-r--r-- | src/gallium/tests/graw/vs-test.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/tests/graw/vs-test.c b/src/gallium/tests/graw/vs-test.c index 6c6f065af53..7fb97d84948 100644 --- a/src/gallium/tests/graw/vs-test.c +++ b/src/gallium/tests/graw/vs-test.c @@ -170,6 +170,8 @@ static void set_vertices( void ) } } + memset(&vbuf, 0, sizeof vbuf); + vbuf.stride = sizeof( struct vertex ); vbuf.buffer_offset = 0; vbuf.buffer = pipe_buffer_create_with_data(ctx, |