diff src/video/SDL_blit.c @ 2837:ff8db79a3cc9

Fixed bug picking blitters
author Sam Lantinga <slouken@libsdl.org>
date Sat, 06 Dec 2008 05:49:08 +0000
parents 4dba7aa7ea77
children 43691ef70176
line wrap: on
line diff
--- a/src/video/SDL_blit.c	Sat Dec 06 05:23:35 2008 +0000
+++ b/src/video/SDL_blit.c	Sat Dec 06 05:49:08 2008 +0000
@@ -173,7 +173,7 @@
 
         /* Check modulation flags */
         flagcheck =
-            (flags & (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_COLOR));
+            (flags & (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA));
         if ((flagcheck & entries[i].flags) != flagcheck) {
             continue;
         }