start with white instead of black

This commit is contained in:
rsc 2005-07-24 14:01:15 +00:00
parent 72efb66636
commit 7ba8aa0c70

View file

@ -86,7 +86,7 @@ initdraw(void (*error)(Display*, char*), char *fontname, char *label)
_screen = allocscreen(display->image, display->white, 0);
screen = _allocwindow(nil, _screen, display->image->r, Refnone, DWhite);
display->screenimage = screen;
draw(screen, screen->r, display->black, nil, ZP);
draw(screen, screen->r, display->white, nil, ZP);
flushimage(display, 1);
atexit(drawshutdown);