diff options
author | Michel Dänzer <daenzer@vmware.com> | 2009-07-20 20:41:11 +0200 |
---|---|---|
committer | Michel Dänzer <daenzer@vmware.com> | 2009-07-20 20:41:11 +0200 |
commit | cd63e35603568c168e8aebbc47ca6ea308f2ccfa (patch) | |
tree | 6dd344f96f93f7a6c64d575d7d973d53255f26d1 /src/mesa/drivers | |
parent | 442101dad72373bcbd576bce3cbf77c49280e04b (diff) | |
parent | 5ed440400573631f540701f3efd479d8c1592007 (diff) |
Merge branch 'mesa_7_5_branch'
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/dri/radeon/radeon_screen.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_screen.c b/src/mesa/drivers/dri/radeon/radeon_screen.c index 355fa8683a..290ef2394d 100644 --- a/src/mesa/drivers/dri/radeon/radeon_screen.c +++ b/src/mesa/drivers/dri/radeon/radeon_screen.c @@ -309,12 +309,12 @@ radeonFillInModes( __DRIscreenPrivate *psp, * with a stencil buffer. It will be a sw fallback, but some apps won't * care about that. */ - stencil_bits_array[0] = 0; + stencil_bits_array[0] = stencil_bits; stencil_bits_array[1] = (stencil_bits == 0) ? 8 : stencil_bits; msaa_samples_array[0] = 0; - depth_buffer_factor = ((depth_bits != 0) || (stencil_bits != 0)) ? 2 : 1; + depth_buffer_factor = (stencil_bits == 0) ? 2 : 1; back_buffer_factor = (have_back_buffer) ? 2 : 1; if (pixel_bits == 16) { |