From 8e5210cb9c4d0cd933dd4d871554af9b9a879019 Mon Sep 17 00:00:00 2001 From: Yuxuan Shui Date: Sat, 20 Apr 2019 02:09:22 +0100 Subject: [PATCH] new backend: glx: use glFinish instead of glXWaitGL The API document claims they achieve the same thing, apparently not. Signed-off-by: Yuxuan Shui --- src/backend/gl/glx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/gl/glx.c b/src/backend/gl/glx.c index c14cb6e..c260ce6 100644 --- a/src/backend/gl/glx.c +++ b/src/backend/gl/glx.c @@ -437,7 +437,7 @@ static void glx_present(backend_t *base) { glXSwapBuffers(gd->display, gd->target_win); // XXX there should be no need to block compton will wait for render to finish if (!gd->gl.is_nvidia) { - glXWaitGL(); + glFinish(); } }