mesa: fix baseLevel >= MAX_TEXTURE_LEVELS test
authorBrian Paul <brianp@vmware.com>
Wed, 9 Dec 2009 15:30:01 +0000 (08:30 -0700)
committerBrian Paul <brianp@vmware.com>
Wed, 9 Dec 2009 15:30:05 +0000 (08:30 -0700)
commit3de8fff45d04fd7e702cd656ba97cafd348c3981
treedfcfa5434431ab1e1b7cd225e4cb4950e40c4edc
parent33a120e4761a661736ea64a3efc2e3831ac5600a
mesa: fix baseLevel >= MAX_TEXTURE_LEVELS test

This fixes invalid array indexing when baseLevel == MAX_TEXTURE_LEVELS.
See bug 25528.
src/mesa/main/texobj.c