meta: Bind texture to unit 0 for mipmap generation
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 9 Dec 2009 19:03:49 +0000 (11:03 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Wed, 9 Dec 2009 19:05:15 +0000 (11:05 -0800)
commite3fa700c178e11e6735430119232919176ab7b42
tree39c3f18e79882bf6922f2f2ca3549ccc2a8eac49
parentcd6b8dd9e82fedc55d033131fbc0f8ee950567c8
meta: Bind texture to unit 0 for mipmap generation

If the active texture unit on entry to mipmap generation is not zero, bind the
texture to unit zero.

Fixes bug #24219.
src/mesa/drivers/common/meta.c