renderer: add expand_undersized_textures

adds an option to disable the texture expansion for textures that are smaller while resizing up
This commit is contained in:
Vaxry
2024-11-04 19:42:47 +00:00
parent 0fb9a04526
commit 88e9e03945
2 changed files with 17 additions and 12 deletions

View File

@@ -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"});