Create an "Advanced" tab in the graphics configuration tab and add anisotropic filtering levels.

This commit is contained in:
Morph 2020-02-23 19:01:17 -05:00
parent 969357af1a
commit 7ee6065178
16 changed files with 245 additions and 35 deletions

View file

@ -120,6 +120,8 @@ void Config::ReadValues() {
static_cast<float>(sdl2_config->GetReal("Renderer", "resolution_factor", 1.0));
Settings::values.aspect_ratio =
static_cast<int>(sdl2_config->GetInteger("Renderer", "aspect_ratio", 0));
Settings::values.max_anisotropy =
static_cast<int>(sdl2_config->GetInteger("Renderer", "max_anisotropy", 0));
Settings::values.use_frame_limit = false;
Settings::values.frame_limit = 100;
Settings::values.use_disk_shader_cache =