src/video/SDL_blit.c
changeset 5184 d976b67150c5
parent 5140 e743b9c3f6d6
child 5259 6a65c1fc07af
equal deleted inserted replaced
5183:227d81a4b66c 5184: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 */