meta: set viewport and projection matrix in _mesa_meta_GenerateMipmap
authorBrian Paul <brianp@vmware.com>
Thu, 7 Jan 2010 01:12:42 +0000 (18:12 -0700)
committerBrian Paul <brianp@vmware.com>
Thu, 7 Jan 2010 01:20:17 +0000 (18:20 -0700)
commit06970b2ccb6add0696710f01a07ebf9ec3922c80
tree806390d4aa50e3e3f5a04f63f2aaa7c4e01c5505
parent49653c01e8288018d8a1d8e935ef64645f088402
meta: set viewport and projection matrix in _mesa_meta_GenerateMipmap

This fixes mipmap levels being clipped to the last viewport.

Based on a patch submitted by Pierre Willenbrock <pierre@pirsoft.de>
src/mesa/drivers/common/meta.c