mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 23:32:09 +00:00
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:
parent
e27db9f6b2
commit
4b33ba547a
1 changed files with 0 additions and 12 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue