mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-04 14:46:03 +00:00
fix graphics rendering because of inverted specialisation
This commit is contained in:
parent
9b325d3de0
commit
91d39eba6c
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue