Mesa (master): mesa: remove unnecessary store.

Eric Anholt anholt at kemper.freedesktop.org
Tue Dec 22 14:21:04 PST 2009


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

Author: Eric Anholt <eric at anholt.net>
Date:   Tue Dec 22 12:08:14 2009 -0800

mesa: remove unnecessary store.

---

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

diff --git a/src/mesa/main/texrender.c b/src/mesa/main/texrender.c
index e2432be..cf603d4 100644
--- a/src/mesa/main/texrender.c
+++ b/src/mesa/main/texrender.c
@@ -467,7 +467,6 @@ update_wrapper(GLcontext *ctx, const struct gl_renderbuffer_attachment *att)
 {
    struct texture_renderbuffer *trb
       = (struct texture_renderbuffer *) att->Renderbuffer;
-   gl_format texFormat;
 
    (void) ctx;
    ASSERT(trb);
@@ -490,8 +489,6 @@ update_wrapper(GLcontext *ctx, const struct gl_renderbuffer_attachment *att)
       trb->Zoffset = att->Zoffset;
    }
 
-   texFormat = trb->TexImage->TexFormat;
-
    trb->Base.Width = trb->TexImage->Width;
    trb->Base.Height = trb->TexImage->Height;
    trb->Base.InternalFormat = trb->TexImage->InternalFormat;



More information about the mesa-commit mailing list