mirror of https://github.com/yshui/picom.git
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:
parent
24c7dcfd6c
commit
5a8b82f537
|
@ -437,7 +437,7 @@ static void glx_present(backend_t *base) {
|
||||||
glXSwapBuffers(gd->display, gd->target_win);
|
glXSwapBuffers(gd->display, gd->target_win);
|
||||||
// XXX there should be no need to block compton will wait for render to finish
|
// XXX there should be no need to block compton will wait for render to finish
|
||||||
if (!gd->gl.is_nvidia) {
|
if (!gd->gl.is_nvidia) {
|
||||||
glXWaitGL();
|
glFinish();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue