meta: Restore all scissor state
authorIan Romanick <ian.d.romanick@intel.com>
Thu, 9 Jan 2014 23:44:58 +0000 (15:44 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 20 Jan 2014 19:31:59 +0000 (11:31 -0800)
commit91ad85187682b16458c6bddbf98e79fa446bc947
treeb9f95940bf61a97911df55222be156676d945466
parent6d3b1dc150e4bdd462b5320a072e509777ad386a
meta: Restore all scissor state

Previously the restore code would enable all scissor rectangles if any
scissor rectangles were enabled on entry to meta.  When there is only
one scissor rectangle, this is fine.  As soon as a driver supports
multiple viewports, this will be a problem.

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