diff options
author | Nikias Bassen | 2010-11-05 15:15:25 +0100 |
---|---|---|
committer | Nikias Bassen | 2010-11-05 15:15:25 +0100 |
commit | 652e1793bc8a499d07299356a5f3f28a125c71b9 (patch) | |
tree | 44209412b31fa2241ff589125d3ac993ac831914 | |
parent | eace9a9a301515b23525195aee7a7c90b462dad5 (diff) | |
download | sbmanager-652e1793bc8a499d07299356a5f3f28a125c71b9.tar.gz sbmanager-652e1793bc8a499d07299356a5f3f28a125c71b9.tar.bz2 |
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.
-rw-r--r-- | src/gui.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; |