https://bugs.freedesktop.org/show_bug.cgi?id=90264

--- Comment #50 from Furkan <fal...@gmail.com> ---
It was brought to my attention on IRC that the proposed patch only fixes the
issue with DRI2, but not DRI3. I tried applying the same fix to dri3_glx.c, but
it doesn't seem to have any effect. Any ideas why? Or does it work for anybody
else?

diff --git a/src/glx/dri3_glx.c b/src/glx/dri3_glx.c
index 96f13e6..4676166 100644
--- a/src/glx/dri3_glx.c
+++ b/src/glx/dri3_glx.c
@@ -723,6 +723,9 @@ dri3_wait_x(struct glx_context *gc)
    struct dri3_screen *psc;
    struct dri3_buffer *front;

+   if (gc->currentDpy != NULL)
+      XSync(gc->currentDpy, False);
+
    if (priv == NULL || !priv->have_fake_front)
       return;

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to