fix small s3tc mipmaps (#10968)
authorRoland Scheidegger <sroland@tungstengraphics.com>
Fri, 18 May 2007 22:45:38 +0000 (00:45 +0200)
committerRoland Scheidegger <sroland@tungstengraphics.com>
Fri, 18 May 2007 22:59:46 +0000 (00:59 +0200)
commit3ad9c551b95c6fd8787f6f007bda34df446b53ab
tree4aae513b663aee7b353a117cfc6c8f762eb362e6
parent4fca6bfa5d211a093c54b0bbeadaa38081e8c141
fix small s3tc mipmaps (#10968)

make sure that always whole blocks are uploaded.
(May still not work correctly if the top mip map is not at least a full block,
that is 4 pixels wide - not sure, but probably doesn't happen in real world)
src/mesa/drivers/dri/i915/i915_texstate.c
src/mesa/drivers/dri/i915/intel_tex.c