meta: Fix GL_RENDERBUFFER binding in decompress_texture_image().
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 4 Jun 2012 18:40:23 +0000 (11:40 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 5 Jun 2012 21:41:34 +0000 (14:41 -0700)
commit7fde071f04afff86d4f8d7895073e22e60970b4e
treed95c28607d48a268d227a54707e967acc02ae02b
parent3edd2ba22bdb9abd4e2b10db4379f4182b5c3ecd
meta: Fix GL_RENDERBUFFER binding in decompress_texture_image().

This isn't saved/restored by _mesa_meta_begin, so we need to do it
manually (like we do for the read/draw framebuffers).  Additionally,
we neglected to re-bind before the glRenderbufferStorage call.

+13 oglconforms.

NOTE: This is a candidate for stable release branches.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/drivers/common/meta.c