# HG changeset patch # User ib # Date 1359032297 0 # Node ID c8f002f10f75c951b50d4926fe71a57efc0c2fe4 # Parent e745b22750f6d1c160cf1023fbbf695a5d0f6ca3 Move assignment to uiMainRender to a more appropriate place. Additionally, disable uiVideoRender as well (before we're going to remove our windows). diff -r e745b22750f6 -r c8f002f10f75 gui/interface.c --- 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();