fix miptree comparison with compressed textures
authorRoland Scheidegger <sroland@tungstengraphics.com>
Fri, 18 May 2007 22:59:06 +0000 (00:59 +0200)
committerRoland Scheidegger <sroland@tungstengraphics.com>
Fri, 18 May 2007 22:59:46 +0000 (00:59 +0200)
commit28f53ace336706912fda6cc6877f72bffdcae330
tree723bbfcd6dc9b03d672ad16835d0d4439d8b99f9
parent3ad9c551b95c6fd8787f6f007bda34df446b53ab
fix miptree comparison with compressed textures

TexelBytes is always 0 with compressed textures, thus would never match
mt->cpp. This caused constant blitting around of textures, and it fixes at
least the horrible performance of Q3 if compressed textures are enabled.
src/mesa/drivers/dri/i915tex/intel_tex_validate.c