Mercurial > sdl-ios-xcode
diff src/video/SDL_blit.c @ 5143:e743b9c3f6d6
Making the API simpler, the blend modes are "none, blend, add" and are supported by all renderers.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 31 Jan 2011 23:23:57 -0800 |
parents | f7b03b6838cb |
children | d976b67150c5 |
line wrap: on
line diff
--- a/src/video/SDL_blit.c Mon Jan 31 22:53:45 2011 -0800 +++ b/src/video/SDL_blit.c Mon Jan 31 23:23:57 2011 -0800 @@ -181,9 +181,7 @@ } /* Check blend flags */ - flagcheck = - (flags & - (SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD)); + flagcheck = (flags & (SDL_COPY_BLEND | SDL_COPY_ADD)); if ((flagcheck & entries[i].flags) != flagcheck) { continue; }