Make arbitrary mipmap detection a config option

Under GFX::Enhancements::ArbitraryMipmapDetection - default enabled
This commit is contained in:
Jonathan Hamilton committed 2018-05-16 17:15:38 -07:00
1 parent b547f72878
commit 29b7e33c14
5 files changed
+8

No files matched your search

@@ -500,6 +500,9 @@ public:
if (levels.size() < 2)
return false;
if (!g_ActiveConfig.bArbitraryMipmapDetection)
return false;
// This is the average per-pixel, per-channel difference in percent between what we
// expect a normal blurred mipmap to look like and what we actually received
// 4.5% was chosen because it's just below the lowest clearly-arbitrary texture