diff src/video/SDL_blit.c @ 5187:d976b67150c5

Restored SDL_BLENDMODE_MOD for MAME
author Sam Lantinga <slouken@libsdl.org>
date Fri, 04 Feb 2011 19:50:56 -0800
parents e743b9c3f6d6
children 6a65c1fc07af
line wrap: on
line diff
--- a/src/video/SDL_blit.c	Fri Feb 04 19:18:08 2011 -0800
+++ b/src/video/SDL_blit.c	Fri Feb 04 19:50:56 2011 -0800
@@ -181,7 +181,9 @@
         }
 
         /* Check blend flags */
-        flagcheck = (flags & (SDL_COPY_BLEND | SDL_COPY_ADD));
+        flagcheck =
+            (flags &
+             (SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD));
         if ((flagcheck & entries[i].flags) != flagcheck) {
             continue;
         }