diff options
author | Vaxry <[email protected]> | 2024-11-04 19:42:47 +0000 |
---|---|---|
committer | Vaxry <[email protected]> | 2024-11-04 19:45:23 +0000 |
commit | 88e9e0394541a853600bc2c910005c05fa156269 (patch) | |
tree | 767de503b0a559a8198f690c6e9867773694fdc5 /src/config | |
parent | 0fb9a04526b06adfb3fd16b64e13b7d110ae7855 (diff) | |
download | Hyprland-88e9e0394541a853600bc2c910005c05fa156269.tar.gz Hyprland-88e9e0394541a853600bc2c910005c05fa156269.zip |
renderer: add expand_undersized_textures
adds an option to disable the texture expansion for textures that are smaller while resizing up
Diffstat (limited to 'src/config')
-rw-r--r-- | src/config/ConfigManager.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/config/ConfigManager.cpp b/src/config/ConfigManager.cpp index 62c71dc7..c5d53e6a 100644 --- a/src/config/ConfigManager.cpp +++ b/src/config/ConfigManager.cpp @@ -590,6 +590,7 @@ CConfigManager::CConfigManager() { m_pConfig->addConfigValue("render:explicit_sync", Hyprlang::INT{2}); m_pConfig->addConfigValue("render:explicit_sync_kms", Hyprlang::INT{2}); m_pConfig->addConfigValue("render:direct_scanout", Hyprlang::INT{0}); + m_pConfig->addConfigValue("render:expand_undersized_textures", Hyprlang::INT{1}); // devices m_pConfig->addSpecialCategory("device", {"name"}); |