i915: Use Stencil.Enabled instead of Stencil._Enabled in DrawBuffers.
authorEric Anholt <eric@anholt.net>
Fri, 15 May 2009 19:32:51 +0000 (12:32 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 17 Jun 2009 18:06:38 +0000 (11:06 -0700)
commit66bfd025c84ca6d4fb73f394adcdd41418ab6b25
tree625eab995bcf7e1be4c76afe2fae06696e2fc284
parentfbd554d07456cf393a20cb86d1c0e81c416843aa
i915: Use Stencil.Enabled instead of Stencil._Enabled in DrawBuffers.

The _Enabled field isn't updated at the point that DrawBuffers is called,
and the Driver.Enable() function does the testing for stencil buffer
presence anyway.

bug #21608 for Radeon
(cherry picked from commit 4c6f82989983eecc0b3b724716cb3bcb675664c5)
src/mesa/drivers/dri/intel/intel_buffers.c