r600: Fix size calculation for 24 bit depth
authorRobert Noland <rnoland@2hip.net>
Mon, 19 Oct 2009 14:47:39 +0000 (09:47 -0500)
committerAlex Deucher <alexdeucher@gmail.com>
Mon, 19 Oct 2009 15:09:10 +0000 (11:09 -0400)
commit8123180ea649540fb7319bc79ad77dca0d5d68cd
treecb326aad724136c51dd684b0a182db7aa7de221a
parent3594b53c0173ac810106f667604bf94b5cfc4a1e
r600: Fix size calculation for 24 bit depth

size was being calculated based on 3 bytes per pixel with 24 bit depth
instead of 4 bytes.  This caused corruption in the bottom 25% of objects.
This finishes fixing the menu/text corruption in compiz/kde4.

Signed-off-by: Robert Noland <rnoland@2hip.net>
src/mesa/drivers/dri/r600/r600_texstate.c