Mercurial > sdl-ios-xcode
comparison 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 |
comparison
equal
deleted
inserted
replaced
5186:227d81a4b66c | 5187:d976b67150c5 |
---|---|
179 if ((flagcheck & entries[i].flags) != flagcheck) { | 179 if ((flagcheck & entries[i].flags) != flagcheck) { |
180 continue; | 180 continue; |
181 } | 181 } |
182 | 182 |
183 /* Check blend flags */ | 183 /* Check blend flags */ |
184 flagcheck = (flags & (SDL_COPY_BLEND | SDL_COPY_ADD)); | 184 flagcheck = |
185 (flags & | |
186 (SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD)); | |
185 if ((flagcheck & entries[i].flags) != flagcheck) { | 187 if ((flagcheck & entries[i].flags) != flagcheck) { |
186 continue; | 188 continue; |
187 } | 189 } |
188 | 190 |
189 /* Check colorkey flag */ | 191 /* Check colorkey flag */ |