diff options
author | dec05eba <dec05eba@protonmail.com> | 2025-05-18 01:23:42 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2025-05-18 01:23:42 +0200 |
commit | e8dc3859fee38f30707bf5e77fa7dca0a2e05453 (patch) | |
tree | d5490cc1c3233e3914ca9338ee2c5759d2f18dbb /src/Theme.cpp | |
parent | 5fe5830056e57fcefb5c87f3ad841495adb3b30f (diff) |
Improve quality of screenshot and settings icons, especially for smaller resolutions
Diffstat (limited to 'src/Theme.cpp')
-rw-r--r-- | src/Theme.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Theme.cpp b/src/Theme.cpp index 6c384e3..a20c4da 100644 --- a/src/Theme.cpp +++ b/src/Theme.cpp @@ -69,7 +69,10 @@ namespace gsr { if(!theme->settings_texture.load_from_file((resources_path + "images/settings.png").c_str())) goto error; - if(!theme->settings_small_texture.load_from_file((resources_path + "images/settings_small.png").c_str())) + if(!theme->settings_small_texture.load_from_file((resources_path + "images/settings_small.png").c_str(), mgl::Texture::LoadOptions{false, false, MGL_TEXTURE_SCALE_LINEAR_MIPMAP})) + goto error; + + if(!theme->settings_extra_small_texture.load_from_file((resources_path + "images/settings_extra_small.png").c_str(), mgl::Texture::LoadOptions{false, false, MGL_TEXTURE_SCALE_LINEAR_MIPMAP})) goto error; if(!theme->folder_texture.load_from_file((resources_path + "images/folder.png").c_str())) |