aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/main/buffers.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-04-10 18:43:19 +0000
committermarha <marha@users.sourceforge.net>2011-04-10 18:43:19 +0000
commit2fb58f16eeec8ef3ec2a25e246477aab64e38a7d (patch)
treea4dbbe4f2c9a6524e99452ab43c972d5dbfa015f /mesalib/src/mesa/main/buffers.c
parentde1c6801fc854692d39fb2f8d53bf54ab25a1287 (diff)
downloadvcxsrv-2fb58f16eeec8ef3ec2a25e246477aab64e38a7d.tar.gz
vcxsrv-2fb58f16eeec8ef3ec2a25e246477aab64e38a7d.tar.bz2
vcxsrv-2fb58f16eeec8ef3ec2a25e246477aab64e38a7d.zip
mesa git update
Diffstat (limited to 'mesalib/src/mesa/main/buffers.c')
-rw-r--r--mesalib/src/mesa/main/buffers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesalib/src/mesa/main/buffers.c b/mesalib/src/mesa/main/buffers.c
index 1ddf5b2c8..928450f0f 100644
--- a/mesalib/src/mesa/main/buffers.c
+++ b/mesalib/src/mesa/main/buffers.c
@@ -407,7 +407,6 @@ _mesa_drawbuffers(struct gl_context *ctx, GLuint n, const GLenum *buffers,
fb->_ColorDrawBufferIndexes[buf] = bufIndex;
newState = GL_TRUE;
}
- fb->ColorDrawBuffer[buf] = buffers[buf];
count = buf + 1;
}
else {
@@ -416,6 +415,7 @@ _mesa_drawbuffers(struct gl_context *ctx, GLuint n, const GLenum *buffers,
newState = GL_TRUE;
}
}
+ fb->ColorDrawBuffer[buf] = buffers[buf];
}
/* set remaining outputs to -1 (GL_NONE) */
while (buf < ctx->Const.MaxDrawBuffers) {