don't know why the expose event was being waited for. doesn't seem to be

needed (now, anyway) when going windowed and causes lockup when starting
fullscreen
This commit is contained in:
Bill Currie 2004-03-21 20:21:57 +00:00
parent e27db9f6b2
commit 4b33ba547a

View file

@ -508,18 +508,6 @@ VID_Init (unsigned char *palette)
x_gc = XCreateGC (x_disp, x_win, valuemask, &xgcvalues);
}
// wait for first exposure event
{
XEvent event;
do {
XNextEvent (x_disp, &event);
if (event.type == Expose && !event.xexpose.count)
oktodraw = true;
} while (!oktodraw);
}
// now safe to draw
// even if MITSHM is available, make sure it's a local connection
if (XShmQueryExtension (x_disp)) {
char *displayname;