diff options
Diffstat (limited to 'src/gallium/tests/graw/tri-gs.c')
-rw-r--r-- | src/gallium/tests/graw/tri-gs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/tests/graw/tri-gs.c b/src/gallium/tests/graw/tri-gs.c index 6aad51c94a0..6d9e41ddb3a 100644 --- a/src/gallium/tests/graw/tri-gs.c +++ b/src/gallium/tests/graw/tri-gs.c @@ -199,6 +199,7 @@ static void init( void ) if (ctx == NULL) exit(3); + memset(&templat, 0, sizeof(templat)); templat.target = PIPE_TEXTURE_2D; templat.format = formats[i]; templat.width0 = WIDTH; |