From 652e1793bc8a499d07299356a5f3f28a125c71b9 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Fri, 5 Nov 2010 15:15:25 +0100 Subject: Add CLUTTER_VBLANK=none to fix certain graphics card related issues Some graphics drivers like the intel one have problems with redrawing when using clutter-gtk. Using CLUTTER_VBLANK=none it works again. Since other graphics card configurations do no show any disadvantages we set CLUTTER_VBLANK=none as default. Setting CLUTTER_VBLANK manually will still override the default 'none' setting. --- src/gui.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/gui.c b/src/gui.c index 7a07083..f86d677 100644 --- a/src/gui.c +++ b/src/gui.c @@ -1940,6 +1940,7 @@ GtkWidget *gui_init() } if (!clutter_initialized) { + g_setenv ("CLUTTER_VBLANK", "none", FALSE); if (gtk_clutter_init(NULL, NULL) != CLUTTER_INIT_SUCCESS) { g_error("Unable to initialize GtkClutter"); return NULL; -- cgit v1.1-32-gdbae