diff options
Diffstat (limited to 'debian/patches/03_handle-sync-and-dont-unlock-display.patch')
-rw-r--r-- | debian/patches/03_handle-sync-and-dont-unlock-display.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/debian/patches/03_handle-sync-and-dont-unlock-display.patch b/debian/patches/03_handle-sync-and-dont-unlock-display.patch new file mode 100644 index 00000000000..c9089ef86ed --- /dev/null +++ b/debian/patches/03_handle-sync-and-dont-unlock-display.patch @@ -0,0 +1,15 @@ +--- a/src/glx/x11/glxext.c ++++ b/src/glx/x11/glxext.c +@@ -1016,11 +1016,11 @@ + if (!_XReply(dpy, (xReply*) &reply, 0, False)) { + /* Something is busted. Punt. */ + UnlockDisplay(dpy); ++ SyncHandle(); + FreeScreenConfigs(priv); + return GL_FALSE; + } + +- UnlockDisplay(dpy); + if (!reply.numVisuals) { + /* This screen does not support GL rendering */ + UnlockDisplay(dpy); |