projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6260d4a
)
mesa: remove unnecessary store.
author
Eric Anholt
<eric@anholt.net>
Tue, 22 Dec 2009 20:08:14 +0000
(12:08 -0800)
committer
Eric Anholt
<eric@anholt.net>
Tue, 22 Dec 2009 22:20:26 +0000
(14:20 -0800)
src/mesa/main/texrender.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/texrender.c
b/src/mesa/main/texrender.c
index e2432be6ca497cee2cb0e4e5ec9345d2fb404d53..cf603d46d86e370f0f24b8c6dca682b01c814b7b 100644
(file)
--- 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;