void-packages/srcpkgs/mutter/patches/meta-renderer-x11.patch
2017-06-05 12:30:29 -06:00

17 lines
824 B
Diff

--- src/backends/x11/meta-renderer-x11.c 2017-05-11 06:30:09.000000000 -0600
+++ src/backends/x11/meta-renderer-x11.c 2017-06-05 12:14:08.090473267 -0600
@@ -79,14 +79,6 @@
cogl_renderer_set_custom_winsys (cogl_renderer, get_x11_cogl_winsys_vtable);
cogl_xlib_renderer_set_foreign_display (cogl_renderer, xdisplay);
- /* Set up things so that if the INTEL_swap_event extension is not present,
- * but the driver is known to have good thread support, we use an extra
- * thread and call glXWaitVideoSync() in the thread. This allows idles
- * to work properly, even when Mutter is constantly redrawing new frames;
- * otherwise, without INTEL_swap_event, we'll just block in glXSwapBuffers().
- */
- cogl_xlib_renderer_set_threaded_swap_wait_enabled (cogl_renderer, TRUE);
-
return cogl_renderer;
}