From fe050359307d813dd1f7c6af158409da452edbe7 Mon Sep 17 00:00:00 2001 From: nick black Date: Sat, 2 Oct 2021 12:45:07 -0400 Subject: [PATCH] [xray] black background, not default #2226 --- src/demo/xray.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/demo/xray.c b/src/demo/xray.c index cd0cb0fed..63d07bbc6 100644 --- a/src/demo/xray.c +++ b/src/demo/xray.c @@ -169,8 +169,7 @@ int xray_demo(struct notcurses* nc){ return -1; } uint64_t stdc = 0; - ncchannels_set_fg_alpha(&stdc, NCALPHA_TRANSPARENT); - ncchannels_set_bg_alpha(&stdc, NCALPHA_TRANSPARENT); + ncchannels_set_bg_rgb(&stdc, 0); ncplane_set_base(notcurses_stdplane(nc), "", 0, stdc); // returns non-zero if the selected blitter isn't available pthread_t tid1, tid2;