projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a663a63
)
intel: Fix intel_compressed_num_bytes for FXT1 after I broke it.
author
Eric Anholt
<eric@anholt.net>
Fri, 4 Jun 2010 19:43:15 +0000
(12:43 -0700)
committer
Eric Anholt
<eric@anholt.net>
Fri, 4 Jun 2010 19:43:15 +0000
(12:43 -0700)
Fixes piglit fxt1-teximage since
7554b83a21bd62b20df5a7327b69f08108ac9ab6
, and also OGLC tests that hit
FXT1 with a million other things.
Bug #28184.
src/mesa/drivers/dri/intel/intel_tex_format.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/intel/intel_tex_format.c
b/src/mesa/drivers/dri/intel/intel_tex_format.c
index 610a169beb2d7e7fb0c8838aafc0cbba3b6f0848..b42d6f3155c550c42bd821697e96ef63d2e44bde 100644
(file)
--- a/
src/mesa/drivers/dri/intel/intel_tex_format.c
+++ b/
src/mesa/drivers/dri/intel/intel_tex_format.c
@@
-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 / b
h
;
+ return block_size / b
w
;
}