diff src/video/SDL_RLEaccel.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 b530ef003506
line wrap: on
line diff
--- a/src/video/SDL_RLEaccel.c	Fri Feb 04 19:18:08 2011 -0800
+++ b/src/video/SDL_RLEaccel.c	Fri Feb 04 19:50:56 2011 -0800
@@ -1423,7 +1423,7 @@
     /* Pass on combinations not supported */
     if ((flags & SDL_COPY_MODULATE_COLOR) ||
         ((flags & SDL_COPY_MODULATE_ALPHA) && surface->format->Amask) ||
-        (flags & SDL_COPY_ADD) ||
+        (flags & (SDL_COPY_ADD | SDL_COPY_MOD)) ||
         (flags & SDL_COPY_NEAREST)) {
         return -1;
     }