summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/src/cmd/rio/data.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/cmd/rio/data.c b/sys/src/cmd/rio/data.c
index f9b9cfad0..86e43c72f 100644
--- a/sys/src/cmd/rio/data.c
+++ b/sys/src/cmd/rio/data.c
@@ -175,7 +175,7 @@ Cursor *corners[9] = {
void
iconinit(void)
{
- background = allocimage(display, Rect(0,0,1,1), RGB24, 1, 0x777777FF);
+ background = allocimage(display, Rect(0,0,1,1), screen->chan, 1, 0x777777FF);
/* greys are multiples of 0x11111100+0xFF, 14* being palest */
cols[BACK] = allocimage(display, Rect(0,0,1,1), CMAP8, 1, 0xFFFFFFFF^reverse);