Make arbitrary mipmap detection a config option

Under GFX::Enhancements::ArbitraryMipmapDetection - default enabled
This commit is contained in:
Jonathan Hamilton 2018-05-16 17:12:56 -07:00
parent b547f72878
commit 29b7e33c14
5 changed files with 8 additions and 0 deletions

View file

@ -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