diff options
author | Eric Anholt <[email protected]> | 2009-12-22 12:08:14 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2009-12-22 14:20:26 -0800 |
commit | fbeceec97b50a5e377a730d01d48c08faf8f6596 (patch) | |
tree | 96fe0c7f32e04744e9e9512c2a253918211ed30a /src/mesa/main | |
parent | 6260d4a14cb931330945a3d4d832aa83f9f60b7b (diff) |
mesa: remove unnecessary store.
Diffstat (limited to 'src/mesa/main')
-rw-r--r-- | 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 e2432be6ca4..cf603d46d86 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; |