diff options
author | Michel Dänzer <daenzer@vmware.com> | 2009-02-10 13:47:49 +0100 |
---|---|---|
committer | Michel Dänzer <daenzer@vmware.com> | 2009-02-10 13:47:49 +0100 |
commit | eaf15db895e3a5c6c5ccc2f23a4f0fa522855868 (patch) | |
tree | 46b35dd11ff17c19c28f8569ca99cd3c7427e2fe /src/mesa/drivers/dri/unichrome | |
parent | 7e0bc2eb8df6f83a67410cd422b709981f88cd87 (diff) |
gallium: Fixups for driCreateConfigs MSAA support.
Add the MSAA samples array or make sure its contents are initialized.
Diffstat (limited to 'src/mesa/drivers/dri/unichrome')
-rw-r--r-- | src/mesa/drivers/dri/unichrome/via_screen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/unichrome/via_screen.c b/src/mesa/drivers/dri/unichrome/via_screen.c index c25b87b4a4..e9f566161c 100644 --- a/src/mesa/drivers/dri/unichrome/via_screen.c +++ b/src/mesa/drivers/dri/unichrome/via_screen.c @@ -342,7 +342,7 @@ viaFillInModes( __DRIscreenPrivate *psp, */ static const uint8_t depth_bits_array[4] = { 0, 16, 24, 32 }; static const uint8_t stencil_bits_array[4] = { 0, 0, 8, 0 }; - uint8_t msaa_samples_array[1]; + uint8_t msaa_samples_array[1] = { 0 }; const unsigned depth_buffer_factor = 3; if ( pixel_bits == 16 ) { |