mesa: remove some old do-nothing code
authorBrian Paul <brianp@vmware.com>
Tue, 1 Mar 2011 01:24:25 +0000 (18:24 -0700)
committerBrian Paul <brianp@vmware.com>
Tue, 1 Mar 2011 01:24:25 +0000 (18:24 -0700)
src/mesa/main/framebuffer.c

index 139a842..227b214 100644 (file)
@@ -794,9 +794,6 @@ 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.