Fix corruption of Ridge Racer speedometers with AutoMaxQuality enabled.
See #8509
This commit is contained in:
parent
c3cbb68452
commit
078fa9beb2
1 changed files with 1 additions and 1 deletions
|
@ -2698,7 +2698,7 @@ bool TextureCacheCommon::PrepareBuildTexture(BuildTexturePlan &plan, TexCacheEnt
|
|||
plan.levelsToLoad = 1;
|
||||
}
|
||||
|
||||
if (plan.isVideo || plan.depth != 1) {
|
||||
if (plan.isVideo || plan.depth != 1 || plan.decodeToClut8) {
|
||||
plan.maxPossibleLevels = 1;
|
||||
} else {
|
||||
plan.maxPossibleLevels = log2i(std::min(plan.createW, plan.createH)) + 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue