diff options
author | marha <marha@users.sourceforge.net> | 2011-03-01 07:17:23 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2011-03-01 07:17:23 +0000 |
commit | a18769801e521ccb5a409c377ac0a6a1141f5776 (patch) | |
tree | cfc3429a80c2f996cb5592512acdebe7719d608c /mesalib/src/mesa/main/framebuffer.c | |
parent | feee2b5ceb37101bd1c4162e49805e6ad63e28ae (diff) | |
download | vcxsrv-a18769801e521ccb5a409c377ac0a6a1141f5776.tar.gz vcxsrv-a18769801e521ccb5a409c377ac0a6a1141f5776.tar.bz2 vcxsrv-a18769801e521ccb5a409c377ac0a6a1141f5776.zip |
pixman mesa git update 1 Mar 2011
Diffstat (limited to 'mesalib/src/mesa/main/framebuffer.c')
-rw-r--r-- | mesalib/src/mesa/main/framebuffer.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/mesalib/src/mesa/main/framebuffer.c b/mesalib/src/mesa/main/framebuffer.c index 948b3b7b5..227b214a5 100644 --- a/mesalib/src/mesa/main/framebuffer.c +++ b/mesalib/src/mesa/main/framebuffer.c @@ -794,15 +794,12 @@ update_framebuffer(struct gl_context *ctx, struct gl_framebuffer *fb) _mesa_drawbuffers(ctx, ctx->Const.MaxDrawBuffers, ctx->Color.DrawBuffer, NULL); } - if (fb->ColorReadBuffer != ctx->Pixel.ReadBuffer) { - - } } else { /* This is a user-created framebuffer. * Completeness only matters for user-created framebuffers. */ - if (fb->_Status != GL_FRAMEBUFFER_COMPLETE) { + if (fb->_Status == 0) { _mesa_test_framebuffer_completeness(ctx, fb); } } |