stratagus-cvs
[Top][All Lists]
Advanced

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

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


From: Nehal Mistry
Subject: [Stratagus-CVS] stratagus/src/video video.c
Date: Fri, 28 Nov 2003 00:48:28 -0500

CVSROOT:        /cvsroot/stratagus
Module name:    stratagus
Branch:         
Changes by:     Nehal Mistry <address@hidden>   03/11/28 00:48:28

Modified files:
        src/video      : video.c 

Log message:
        unset alpha key for DisplayPicture

Patches:
Index: stratagus/src/video/video.c
diff -u stratagus/src/video/video.c:1.76 stratagus/src/video/video.c:1.77
--- stratagus/src/video/video.c:1.76    Thu Nov 27 17:00:01 2003
+++ stratagus/src/video/video.c Fri Nov 28 00:48:27 2003
@@ -26,7 +26,7 @@
 //      Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 //      02111-1307, USA.
 //
-//     $Id: video.c,v 1.76 2003/11/27 22:00:01 nehalmistry Exp $
+//     $Id: video.c,v 1.77 2003/11/28 05:48:27 nehalmistry Exp $
 
 //@{
 
@@ -618,6 +618,8 @@
 #endif
 
 #ifdef USE_SDL_SURFACE
+    // Unset the alpha color key, not needed
+    SDL_SetColorKey(picture->Surface, 0, 0);
     SDL_BlitSurface(picture->Surface, NULL, TheScreen, NULL);
 #else
     VideoLockScreen();




reply via email to

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