mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-09-21 12:17:14 +00:00
Fix shader conditional compilation with override fg enabled
This commit is contained in:
parent
25456806aa
commit
1c01805b1c
1 changed files with 1 additions and 1 deletions
|
|
@ -190,7 +190,7 @@ float calc_background_opacity(uint bg) {
|
|||
}
|
||||
|
||||
// Overriding of foreground colors for contrast requirements {{{
|
||||
#if DO_FG_OVERRIDE == 1
|
||||
#if DO_FG_OVERRIDE == 1 && !defined(ONLY_BACKGROUND)
|
||||
#define OVERRIDE_FG_COLORS
|
||||
#pragma kitty_include_shader <hsluv.glsl>
|
||||
#if (FG_OVERRIDE_ALGO == 1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue