msaa: Compute visual samples/sampleBuffers from all buffers.
authorPaul Berry <stereotype441@gmail.com>
Tue, 10 Jul 2012 03:06:19 +0000 (20:06 -0700)
committerPaul Berry <stereotype441@gmail.com>
Tue, 24 Jul 2012 21:52:56 +0000 (14:52 -0700)
commit48fdfbcb58929f1c20cb21190846faa388b1abba
tree85b4fe41c53737a4967fea348d40e741619527ab
parentf35e380dd240b418e17a179af73bbab74ceea784
msaa: Compute visual samples/sampleBuffers from all buffers.

This patch ensures that Visual.samples and Visual.sampleBuffers are
set correctly even in the case where there is no color buffer.
Previously, these values would retain their default value of 0 in this
circumstance, even if the depth or stencil buffer was multisampled.

Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
src/mesa/main/framebuffer.c