mesa: added another check in check_gen_mipmap()
authorBrian Paul <brianp@vmware.com>
Mon, 16 Nov 2009 15:14:23 +0000 (08:14 -0700)
committerBrian Paul <brianp@vmware.com>
Mon, 16 Nov 2009 15:18:03 +0000 (08:18 -0700)
commitecb03d75a2961b28ab3d90fdd5df768608fc9447
treedf612c1f0242f92f97508a0b70d214405477a109
parentd3a37d93aba86ebca697169a31d88c3ef0ce34b9
mesa: added another check in check_gen_mipmap()

We don't need to call ctx->Driver.GenerateMipmap() if we're updating
a texture level >= MAX_LEVEL.
src/mesa/main/teximage.c