stratagus-cvs
[Top][All Lists]
Advanced

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

[Stratagus-CVS] stratagus/src/video sdl.c


From: Nehal Mistry
Subject: [Stratagus-CVS] stratagus/src/video sdl.c
Date: Mon, 17 Nov 2003 14:35:26 -0500

CVSROOT:        /cvsroot/stratagus
Module name:    stratagus
Branch:         
Changes by:     Nehal Mistry <address@hidden>   03/11/17 14:35:26

Modified files:
        src/video      : sdl.c 

Log message:
        fix small error

Patches:
Index: stratagus/src/video/sdl.c
diff -u stratagus/src/video/sdl.c:1.103 stratagus/src/video/sdl.c:1.104
--- stratagus/src/video/sdl.c:1.103     Mon Nov 17 14:14:48 2003
+++ stratagus/src/video/sdl.c   Mon Nov 17 14:35:25 2003
@@ -26,7 +26,7 @@
 //      Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 //      02111-1307, USA.
 //
-//     $Id: sdl.c,v 1.103 2003/11/17 19:14:48 nehalmistry Exp $
+//     $Id: sdl.c,v 1.104 2003/11/17 19:35:25 nehalmistry Exp $
 
 //@{
 
@@ -1078,9 +1078,9 @@
 
     // save the contents of the screen.
 #ifdef USE_SDL_SURFACE
-    framesize = w * h * Screen->format->BytesPerPixel;
-#else
     framesize = w * h * TheScreen->format->BytesPerPixel;
+#else
+    framesize = w * h * Screen->format->BytesPerPixel;
 #endif
 
 #ifndef USE_OPENGL




reply via email to

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