From f58c61ddb5cf62c96ad0a5d536d636f1e0ccda06 Mon Sep 17 00:00:00 2001 From: Philippe Houdoin Date: Wed, 13 Oct 2004 01:23:32 +0000 Subject: [PATCH] Let's build again after the support for GL_ARB_draw_buffers was added. --- src/mesa/drivers/beos/GLView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/drivers/beos/GLView.cpp b/src/mesa/drivers/beos/GLView.cpp index 7426b492bc2..43aa13e7010 100644 --- a/src/mesa/drivers/beos/GLView.cpp +++ b/src/mesa/drivers/beos/GLView.cpp @@ -831,7 +831,7 @@ void MesaDriver::UpdateState( GLcontext *ctx, GLuint new_state ) _ac_InvalidateState( ctx, new_state ); _tnl_InvalidateState( ctx, new_state ); - if (ctx->Color.DrawBuffer == GL_FRONT) { + if (ctx->Color.DrawBuffer[0] == GL_FRONT) { /* read/write front buffer */ swdd->WriteRGBASpan = MesaDriver::WriteRGBASpanFront; swdd->WriteRGBSpan = MesaDriver::WriteRGBSpanFront; -- 2.30.2