meta: Don't tweak BaseLevel when doing glGenerateMipmap().
authorEric Anholt <eric@anholt.net>
Mon, 10 Jan 2011 18:50:36 +0000 (10:50 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 11 Jan 2011 01:21:11 +0000 (17:21 -0800)
commitbd4a2e9209e13878d052dfb8e981fd798c6e4e40
treefd43e796c131cffe295e8c56f4ee1820c8b38b4a
parent5b3eb7538cd9ceb967b6e9e765896183e7c2c4d4
meta: Don't tweak BaseLevel when doing glGenerateMipmap().

We don't need to worry about levels other than MaxLevel because we're
minifying -- the lower levels (higher detail) won't contribute to the
result.  By changing BaseLevel, we forced hardware that doesn't
support BaseLevel != 0 to relayout the texture object.
src/mesa/drivers/common/meta.c