From f4a2b9f83d2b9571a2baea3c430ec15e28ac833c Mon Sep 17 00:00:00 2001 From: Oliver McFadden Date: Wed, 9 May 2007 19:30:59 +0000 Subject: r300: I have no idea why this was forced on, but it seems to work fine when restored to the previous behaviour. --- src/mesa/drivers/dri/r300/radeon_span.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mesa/drivers') diff --git a/src/mesa/drivers/dri/r300/radeon_span.c b/src/mesa/drivers/dri/r300/radeon_span.c index 5003f7cbc8..5f1ff7ade7 100644 --- a/src/mesa/drivers/dri/r300/radeon_span.c +++ b/src/mesa/drivers/dri/r300/radeon_span.c @@ -123,7 +123,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. static GLuint radeon_mba_z32(const driRenderbuffer * drb, GLint x, GLint y) { GLuint pitch = drb->pitch; - if (1 /*|| drb->depthHasSurface */ ) { + if (drb->depthHasSurface) { return 4 * (x + y * pitch); } else { GLuint ba, address = 0; /* a[0..1] = 0 */ @@ -147,7 +147,7 @@ static INLINE GLuint radeon_mba_z16(const driRenderbuffer * drb, GLint x, GLint y) { GLuint pitch = drb->pitch; - if (1 /*|| drb->depthHasSurface */ ) { + if (drb->depthHasSurface) { return 2 * (x + y * pitch); } else { GLuint ba, address = 0; /* a[0] = 0 */ -- cgit v1.2.3