meta: Always restore the framebuffers and current renderbuffer.
authorEric Anholt <eric@anholt.net>
Mon, 3 Mar 2014 19:14:42 +0000 (11:14 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 11 Mar 2014 19:47:46 +0000 (12:47 -0700)
commitd3eb709ded3fb632eaeab7699665913662808ba0
tree3f2e51332b0e3516819fc13aba8cc8b3da709c30
parentfeb3d8dacd587683ded706049d696d1904cb87cd
meta: Always restore the framebuffers and current renderbuffer.

The few paths that were playing with framebuffers and renderbuffer were
saving and restoring them.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/drivers/common/meta.c
src/mesa/drivers/common/meta.h
src/mesa/drivers/common/meta_generate_mipmap.c