st/mesa: fix computation of last_level during texture creation
authorMarek Olšák <maraeo@gmail.com>
Sun, 11 Nov 2012 15:29:00 +0000 (16:29 +0100)
committerMarek Olšák <maraeo@gmail.com>
Mon, 12 Nov 2012 20:37:31 +0000 (21:37 +0100)
commit6dd839f23a8ee7b6853f7320a2715df44040b358
tree1c00d2b705ec809f1b09d3fc77159ae643ac77c5
parentc06258dd0297e1fe7910f48a59aa0de79029ce39
st/mesa: fix computation of last_level during texture creation

Array textures were broken.

NOTE: This is a candidate for the stable branches.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/mesa/state_tracker/st_cb_texture.c