GPU: Add basic texture filtering support
Still has issues around the edges of text.
This commit is contained in:
parent
c284d3835f
commit
67c67bbb66
10 changed files with 105 additions and 69 deletions
|
|
@ -57,6 +57,7 @@ void Settings::Load(const char* filename)
|
|||
gpu_renderer = ParseRendererName(ini.GetValue("GPU", "Renderer", "OpenGL")).value_or(GPURenderer::HardwareOpenGL);
|
||||
gpu_resolution_scale = static_cast<u32>(ini.GetLongValue("GPU", "ResolutionScale", 1));
|
||||
gpu_true_color = ini.GetBoolValue("GPU", "TrueColor", false);
|
||||
gpu_texture_filtering = ini.GetBoolValue("GPU", "TextureFiltering", false);
|
||||
|
||||
display_linear_filtering = ini.GetBoolValue("Display", "LinearFiltering", true);
|
||||
|
||||
|
|
@ -89,6 +90,7 @@ bool Settings::Save(const char* filename) const
|
|||
ini.SetLongValue("GPU", "ResolutionScale", static_cast<long>(gpu_resolution_scale));
|
||||
ini.SetBoolValue("GPU", "VSync", video_sync_enabled);
|
||||
ini.SetBoolValue("GPU", "TrueColor", gpu_true_color);
|
||||
ini.SetBoolValue("GPU", "TextureFiltering", gpu_texture_filtering);
|
||||
|
||||
ini.SetBoolValue("Display", "LinearFiltering", display_linear_filtering);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue