From d22a9cf1583075186a19282c7566b520ec1dcd81 Mon Sep 17 00:00:00 2001 From: rodri Date: Mon, 1 Apr 2024 15:17:36 +0000 Subject: can't always rely on screen being there. --- util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util.c b/util.c index 2a4c7d6..0cd4354 100644 --- a/util.c +++ b/util.c @@ -46,7 +46,7 @@ rgb(ulong c) { Memimage *i; - i = eallocmemimage(UR, screen->chan); + i = eallocmemimage(UR, RGBA32); i->flags |= Frepl; i->clipr = Rect(-1e6, -1e6, 1e6, 1e6); memfillcolor(i, c); -- cgit v1.2.3