changeset 2837:ff8db79a3cc9

Fixed bug picking blitters
author Sam Lantinga <slouken@libsdl.org>
date Sat, 06 Dec 2008 05:49:08 +0000
parents b128b94ed31e
children 00356f22195a
files src/video/SDL_blit.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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;
         }