diff --git a/kitty/shaders/graphics.slang b/kitty/shaders/graphics.slang index cc088de02..309cfff3e 100644 --- a/kitty/shaders/graphics.slang +++ b/kitty/shaders/graphics.slang @@ -7,7 +7,7 @@ import alpha_blend; import utils; extern static const bool is_alpha_mask = false; -extern static const bool texture_is_not_premultiplied = false; +extern static const bool texture_is_not_premultiplied = true; struct VSOutput diff --git a/kitty/shaders/slang.py b/kitty/shaders/slang.py index 2669549ee..8e5aae2ec 100644 --- a/kitty/shaders/slang.py +++ b/kitty/shaders/slang.py @@ -279,7 +279,7 @@ class SlangFile(NamedTuple): case 'graphics.slang': yield s() yield s('alpha_mask', is_alpha_mask='true') - yield s('premult', texture_is_not_premultiplied='true') + yield s('premult', texture_is_not_premultiplied='false') case 'cell.slang': d = cell_variant() seen = set()