Let's build again after the support for GL_ARB_draw_buffers was added.

This commit is contained in:
Philippe Houdoin
2004-10-13 01:23:32 +00:00
parent d334067193
commit f58c61ddb5
+1 -1
View File
@@ -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;