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 139a842925fba34c54172021d1343ff0bc422733..227b214a55b578c446f4862fc2018436fd94872d 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.