meta: Only change and restore viewport 0 in mesa meta mode
authorMike Stroyan <mike@lunarg.com>
Fri, 26 Jun 2015 21:15:46 +0000 (15:15 -0600)
committerKenneth Graunke <kenneth@whitecape.org>
Sat, 27 Jun 2015 18:29:56 +0000 (11:29 -0700)
commit2a210b797eacd27a556af9c5e0edca940f9486c5
treee1e1d0d372430fd05d22453c78118cec2bb0a291
parent556dd4af76ca0be9b0698139c06e6d12d52e8ff3
meta: Only change and restore viewport 0 in mesa meta mode

The meta code was setting a default depth range for all viewports
and 'restoring' all viewports to depth range values saved from viewport 0.

Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/common/meta.c