rio: match background screen color format (thanks noam)
This commit is contained in:
parent
24286fa284
commit
8d578014cf
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue