Mesa (master): mesa: remove some old do-nothing code

Brian Paul brianp at kemper.freedesktop.org
Tue Mar 1 01:34:42 UTC 2011


Module: Mesa
Branch: master
Commit: fec26193fbc279985ba91740f654c82dbd8a7a67
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fec26193fbc279985ba91740f654c82dbd8a7a67

Author: Brian Paul <brianp at vmware.com>
Date:   Mon Feb 28 18:24:25 2011 -0700

mesa: remove some old do-nothing code

---

 src/mesa/main/framebuffer.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/src/mesa/main/framebuffer.c b/src/mesa/main/framebuffer.c
index 139a842..227b214 100644
--- a/src/mesa/main/framebuffer.c
+++ b/src/mesa/main/framebuffer.c
@@ -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.




More information about the mesa-commit mailing list