mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-24 03:39:07 +02:00
Merge pull request #17930 from hrydgard/replacement-fix-aniso
Enable anisotropic filtering for replacement textures with mipmaps
This commit is contained in:
1 file changed
+3
@@ -257,6 +257,9 @@ SamplerCacheKey TextureCacheCommon::GetSamplingParams(int maxLevel, const TexCac
|
||||
key.mipEnable = true;
|
||||
key.mipFilt = 1;
|
||||
key.maxLevel = 9 * 256;
|
||||
if (gstate_c.Use(GPU_USE_ANISOTROPY) && g_Config.iAnisotropyLevel > 0) {
|
||||
key.aniso = true;
|
||||
}
|
||||
}
|
||||
useReplacerFiltering = entry->replacedTexture->ForceFiltering(&forceFiltering);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user