Skip to content

Commit 56d6435

Browse files
committed
get_splashscreen: set alpha to 1
set the full opacity (it is RGBA and it has been 0 so far)
1 parent 6b09b5e commit 56d6435

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/video_display.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -661,6 +661,7 @@ struct video_frame *get_splashscreen()
661661
_Static_assert((codec_t) FBUF_CS == RGBA, "RGBA is expected");
662662
for (unsigned int x = 0; x < splash_width; ++x) {
663663
HEADER_PIXEL(data,line);
664+
line[3] = 0xFF; // alpha
664665
line += 4;
665666
}
666667
}

0 commit comments

Comments
 (0)