set miptree pitch to region pitch after allocating the region in st_miptree_create()
authorBrian <brian.paul@tungstengraphics.com>
Thu, 27 Sep 2007 22:33:01 +0000 (16:33 -0600)
committerBrian <brian.paul@tungstengraphics.com>
Thu, 27 Sep 2007 22:33:01 +0000 (16:33 -0600)
commit7966e479dca22bf2d2b844d50ac5bef70614e15a
tree9e8674230a3e584c674d0683de5d40321bd51fc1
parent28b315dc1aed36bebadfacbd55e481e7baacfcb5
set miptree pitch to region pitch after allocating the region in st_miptree_create()

This fixes rendering with small (4x4) textures with softpipe.
Haven't yet tested with i915.
src/mesa/state_tracker/st_mipmap_tree.c