mirror of https://github.com/yuzu-mirror/yuzu
astc_decoder: Fix LDR CEM1 endpoint calculation
Per the spec, L1 is clamped to the value 0xff if it is greater than 0xff. An oversight caused us to take the maximum of L1 and 0xff, rather than the minimum. Huge thanks to wwylele for finding this. Co-Authored-By: Weiyi Wang <wwylele@gmail.com>pull/8/head
parent
f9bfeaa2bc
commit
5fc8393125
Loading…
Reference in New Issue