rio: match background screen color format (thanks noam)

Ori Bernstein 2021-06-06 22:44:36 +00:00
parent 24286fa284
commit 8d578014cf
1 changed files with 1 additions and 1 deletions

View File

@ -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);