mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 05:19:56 +00:00
Enable texture replacement filtering overrides even if file is missing
This commit is contained in:
parent
65081da7f4
commit
3902c85f7f
@ -239,9 +239,9 @@ SamplerCacheKey TextureCacheCommon::GetSamplingParams(int maxLevel, const TexCac
|
||||
// Filtering overrides from replacements or settings.
|
||||
TextureFiltering forceFiltering = TEX_FILTER_AUTO;
|
||||
bool useReplacerFiltering = false;
|
||||
if (entry && replacer_.Enabled() && entry->replacedTexture && entry->replacedTexture->State() == ReplacementState::ACTIVE) {
|
||||
if (entry && replacer_.Enabled() && entry->replacedTexture) {
|
||||
// If replacement textures have multiple mip levels, enforce mip filtering.
|
||||
if (entry->replacedTexture->NumLevels() > 1) {
|
||||
if (entry->replacedTexture->State() == ReplacementState::ACTIVE && entry->replacedTexture->NumLevels() > 1) {
|
||||
key.mipEnable = true;
|
||||
key.mipFilt = 1;
|
||||
key.maxLevel = 9 * 256;
|
||||
|
Loading…
Reference in New Issue
Block a user