summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'util.c')
-rw-r--r--util.c2
1 files changed, 1 insertions, 1 deletions
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);