st/mesa: fix non-mipmap lastLevel calculation.
authorBrian Paul <brianp@vmware.com>
Thu, 1 Oct 2009 19:34:49 +0000 (13:34 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 1 Oct 2009 19:34:49 +0000 (13:34 -0600)
commit495628bc5c3879ee759f9a1bc7e2abc720df75a9
tree89fbf6d4ccc75b525101ea3c9ef43b4bc59513df
parent18883cdf2334511005973155fc517eb678dc0043
st/mesa: fix non-mipmap lastLevel calculation.

reviewed by Brian Paul.
(cherry picked from master, commit ae2daacbac7242938cffe0e2409071e030e00863)
src/mesa/state_tracker/st_cb_texture.c