intel: Fix intel_compressed_num_bytes for FXT1 after I broke it.

Fixes piglit fxt1-teximage since
7554b83a21, and also OGLC tests that hit
FXT1 with a million other things.

Bug #28184.
This commit is contained in:
Eric Anholt
2010-06-04 12:43:15 -07:00
parent a663a63718
commit 18a6e5ee73
@@ -214,5 +214,5 @@ int intel_compressed_num_bytes(GLuint mesaFormat)
block_size = _mesa_get_format_bytes(mesaFormat);
_mesa_get_format_block_size(mesaFormat, &bw, &bh);
return block_size / bh;
return block_size / bw;
}