new backend: glx: use glFinish instead of glXWaitGL

The API document claims they achieve the same thing, apparently not.

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
Yuxuan Shui
2019-05-21 20:15:31 +01:00
parent c55088944a
commit 8e5210cb9c
+1 -1
View File
@@ -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();
}
}