Fix some corner cases in i945_miptree_layout_2d().
authorMichel Dänzer <michel@tungstengraphics.com>
Thu, 14 Dec 2006 11:42:51 +0000 (12:42 +0100)
committerMichel Dänzer <michel@tungstengraphics.com>
Thu, 14 Dec 2006 11:42:51 +0000 (12:42 +0100)
commit81855f22cd8d8df5bd96fdbd76ff975b6cf4150b
tree3c5f787fcbaa1e6fd53eff219b020862614295b1
parent3416ef303af633668cece0b199b4a8b2388c1e2f
Fix some corner cases in i945_miptree_layout_2d().

Based on a patch from Keith Whitwell, with some further fixes.
src/mesa/drivers/dri/intel/intel_tex_layout.c