summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilippe Houdoin <[email protected]>2004-10-13 01:23:32 +0000
committerPhilippe Houdoin <[email protected]>2004-10-13 01:23:32 +0000
commitf58c61ddb5cf62c96ad0a5d536d636f1e0ccda06 (patch)
tree979e3ca080bab5f0431f32d6ed22dac930868ba0
parentd334067193271f366b54836e8f50c7d145a7dee0 (diff)
Let's build again after the support for GL_ARB_draw_buffers was added.
-rw-r--r--src/mesa/drivers/beos/GLView.cpp2
1 files changed, 1 insertions, 1 deletions
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;