Make the arbitrary mipmap detection threshold configureable

This is likely a "superuser" option at best, but I want to be able to play with
it without rebuilding if I want to tweak the heuristics
This commit is contained in:
Jonathan Hamilton
2018-05-16 17:45:10 -07:00
parent 29b7e33c14
commit 8be5cdfcad
5 changed files with 8 additions and 2 deletions

View File

@ -121,6 +121,8 @@ void VideoConfig::Refresh()
bForceTrueColor = Config::Get(Config::GFX_ENHANCE_FORCE_TRUE_COLOR);
bDisableCopyFilter = Config::Get(Config::GFX_ENHANCE_DISABLE_COPY_FILTER);
bArbitraryMipmapDetection = Config::Get(Config::GFX_ENHANCE_ARBITRARY_MIPMAP_DETECTION);
fArbitraryMipmapDetectionThreshold =
Config::Get(Config::GFX_ENHANCE_ARBITRARY_MIPMAP_DETECTION_THRESHOLD);
stereo_mode = Config::Get(Config::GFX_STEREO_MODE);
iStereoDepth = Config::Get(Config::GFX_STEREO_DEPTH);