comparison 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
comparison
equal deleted inserted replaced
5186:227d81a4b66c 5187:d976b67150c5
1421 } 1421 }
1422 1422
1423 /* Pass on combinations not supported */ 1423 /* Pass on combinations not supported */
1424 if ((flags & SDL_COPY_MODULATE_COLOR) || 1424 if ((flags & SDL_COPY_MODULATE_COLOR) ||
1425 ((flags & SDL_COPY_MODULATE_ALPHA) && surface->format->Amask) || 1425 ((flags & SDL_COPY_MODULATE_ALPHA) && surface->format->Amask) ||
1426 (flags & SDL_COPY_ADD) || 1426 (flags & (SDL_COPY_ADD | SDL_COPY_MOD)) ||
1427 (flags & SDL_COPY_NEAREST)) { 1427 (flags & SDL_COPY_NEAREST)) {
1428 return -1; 1428 return -1;
1429 } 1429 }
1430 1430
1431 /* Encode and set up the blit */ 1431 /* Encode and set up the blit */