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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user