mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-05-25 21:03:18 +00:00
texture_cache: Don't read max ansio value if not aniso filter (#1942)
Fix Sonic Forces.
This commit is contained in:
parent
f0352d2f7d
commit
99e1e028c0
2 changed files with 3 additions and 2 deletions
|
@ -447,7 +447,7 @@ struct Sampler {
|
|||
}
|
||||
|
||||
float MaxAniso() const {
|
||||
switch (max_aniso) {
|
||||
switch (max_aniso.Value()) {
|
||||
case AnisoRatio::One:
|
||||
return 1.0f;
|
||||
case AnisoRatio::Two:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue