[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Stratagus-CVS] stratagus/src/stratagus stratagus.c
From: |
address@hidden |
Subject: |
[Stratagus-CVS] stratagus/src/stratagus stratagus.c |
Date: |
24 Jan 2004 14:08:09 +1100 |
CVSROOT: /home/strat
Module name: stratagus
Changes by: <address@hidden> 04/01/24 14:08:09
Modified files:
src/stratagus : stratagus.c
Log message:
Set VideoSyncSpeed to 100 for menus
Patches:
Index: stratagus/src/stratagus/stratagus.c
diff -u stratagus/src/stratagus/stratagus.c:1.257
stratagus/src/stratagus/stratagus.c:1.258
--- stratagus/src/stratagus/stratagus.c:1.257 Sat Jan 24 13:42:26 2004
+++ stratagus/src/stratagus/stratagus.c Sat Jan 24 14:08:08 2004
@@ -26,7 +26,7 @@
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
// 02111-1307, USA.
//
-// $Id: stratagus.c,v 1.257 2004/01/24 02:42:26 jsalmon3 Exp $
+// $Id: stratagus.c,v 1.258 2004/01/24 03:08:08 jsalmon3 Exp $
//@{
@@ -649,6 +649,11 @@
GuiGameStarted = 0;
while (GuiGameStarted == 0) {
+ int old_video_sync;
+
+ old_video_sync = VideoSyncSpeed;
+ VideoSyncSpeed = 100;
+ SetVideoSync();
if (EditorRunning == 2) {
SetupEditor();
}
@@ -657,6 +662,8 @@
} else {
ProcessMenu("menu-program-start", 1);
}
+ VideoSyncSpeed = old_video_sync;
+ SetVideoSync();
}
EnableRedraw = RedrawEverything;