mesa: move/fix levels check for glTexStorage()
authorBrian Paul <brianp@vmware.com>
Sat, 15 Sep 2012 16:30:20 +0000 (10:30 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 18 Sep 2012 01:49:26 +0000 (19:49 -0600)
commit7dc76e94246a14d995d2e9a4c8dc8591c4085849
tree04af17397f3721b1bc3b9fd5a716b1e80cd0e858
parentff24ed09fae56d1bfe844cb71a0aad5e9908cb55
mesa: move/fix levels check for glTexStorage()

Fix copy&paste error and move min levels check closer to max levels check.

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/mesa/main/texstorage.c