stratagus-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Stratagus-CVS] stratagus/src/ui menus.c


From: Nehal Mistry
Subject: [Stratagus-CVS] stratagus/src/ui menus.c
Date: Mon, 17 Nov 2003 18:13:58 -0500

CVSROOT:        /cvsroot/stratagus
Module name:    stratagus
Branch:         
Changes by:     Nehal Mistry <address@hidden>   03/11/17 18:13:57

Modified files:
        src/ui         : menus.c 

Log message:
        can see the campaign menu with USE_SDL_SURFACE

Patches:
Index: stratagus/src/ui/menus.c
diff -u stratagus/src/ui/menus.c:1.588 stratagus/src/ui/menus.c:1.589
--- stratagus/src/ui/menus.c:1.588      Mon Nov 17 14:14:42 2003
+++ stratagus/src/ui/menus.c    Mon Nov 17 18:13:55 2003
@@ -26,7 +26,7 @@
 //      Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 //      02111-1307, USA.
 //
-//     $Id: menus.c,v 1.588 2003/11/17 19:14:42 nehalmistry Exp $
+//     $Id: menus.c,v 1.589 2003/11/17 23:13:55 nehalmistry Exp $
 
 //@{
 
@@ -2813,10 +2813,14 @@
     int i;
     Menu* menu;
 
+#ifdef USE_SDL_SURFACE
+    MenusSetBackground();
+#else
     VideoLockScreen();
     MenusSetBackground();
     VideoUnlockScreen();
     Invalidate();
+#endif
 
     menu = FindMenu("menu-campaign-select");
     DebugLevel0Fn("%d campaigns available\n" _C_ NumCampaigns);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]