File tree Expand file tree Collapse file tree 3 files changed +1
-8
lines changed Expand file tree Collapse file tree 3 files changed +1
-8
lines changed Original file line number Diff line number Diff line change 2929#if (HAS_TRANSPARENCY == 1 )
3030#define TRANSPARENT
3131#endif
32-
33- #if defined(TRANSPARENT) || (PHASE == PHASE_SPECIAL)
34- #define NEEDS_BG_ALPHA
35- #endif
Original file line number Diff line number Diff line change 44
55in vec3 background;
66in float draw_bg;
7- #ifdef NEEDS_BG_ALPHA
87in float bg_alpha;
9- #endif
108
119#ifdef NEEDS_FOREGROUND
1210uniform sampler2DArray sprites;
Original file line number Diff line number Diff line change @@ -36,9 +36,7 @@ const uvec2 cell_pos_map[] = uvec2[4](
3636
3737out vec3 background;
3838out float draw_bg;
39- #ifdef NEEDS_BG_ALPHA
4039out float bg_alpha;
41- #endif
4240
4341#ifdef NEEDS_FOREGROUND
4442uniform float inactive_text_alpha;
@@ -206,6 +204,7 @@ void main() {
206204 draw_bg = step (1 , float (draw_bg_bitfield & draw_bg_mask));
207205#endif
208206
207+ bg_alpha = 1 .f;
209208#ifdef TRANSPARENT
210209 // Set bg_alpha to background_opacity on cells that have the default background color
211210 // Which means they must not have a block cursor or a selection or reverse video
You can’t perform that action at this time.
0 commit comments