mesa: remove unnecessary store.
This commit is contained in:
parent
6260d4a14c
commit
fbeceec97b
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue