mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 02:38:04 +02:00
Do XSync() before resetting error handler.
This commit is contained in:
parent
d0b68b215d
commit
c095f7e46a
1 changed files with 1 additions and 0 deletions
|
|
@ -393,6 +393,7 @@ CreatePbuffer(Display *dpy, int screen, FBCONFIG config,
|
|||
pBuffer = None;
|
||||
}
|
||||
|
||||
XSync(dpy, False);
|
||||
/* Restore original X error handler */
|
||||
(void) XSetErrorHandler(oldHandler);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue