changeset 35747:c8f002f10f75

Move assignment to uiMainRender to a more appropriate place. Additionally, disable uiVideoRender as well (before we're going to remove our windows).
author ib
date Thu, 24 Jan 2013 12:58:17 +0000
parents e745b22750f6
children edac040da09c
files gui/interface.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/gui/interface.c	Thu Jan 24 12:49:15 2013 +0000
+++ b/gui/interface.c	Thu Jan 24 12:58:17 2013 +0000
@@ -254,8 +254,6 @@
 void guiDone(void)
 {
     if (initialized) {
-        uiMainRender = False;
-
         if (gui_save_pos) {
             gui_main_pos_x  = guiApp.mainWindow.X;
             gui_main_pos_y  = guiApp.mainWindow.Y;
@@ -270,6 +268,9 @@
 
         cfg_write();
 
+        uiVideoRender = False;
+        uiMainRender  = False;
+
         // NOTE TO MYSELF: destroy the windows
 
         wsDone();