Fix reverse video not being rendered correctly when using transparency or a background image

Fixes #2419
This commit is contained in:
Kovid Goyal
2020-04-03 22:40:33 +05:30
parent 759a15ccbb
commit 5d65cdb6a8
2 changed files with 7 additions and 1 deletions

View File

@@ -208,7 +208,7 @@ void main() {
// Background {{{
#ifdef NEEDS_BACKROUND
float cell_has_non_default_bg = step(1, float(abs(bg_as_uint - default_colors[bg_index])));
float cell_has_non_default_bg = step(1, float(abs(bg_as_uint - default_colors[1])));
draw_bg = 1;
#if defined(BACKGROUND)