Fixed bug picking blitters
authorSam Lantinga <slouken@libsdl.org>
Sat, 06 Dec 2008 05:49:08 +0000
changeset 2837 ff8db79a3cc9
parent 2836 b128b94ed31e
child 2838 00356f22195a
Fixed bug picking blitters
src/video/SDL_blit.c
--- 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;
         }