src/video/SDL_blit_0.c
changeset 1336 3692456e7b0f
parent 1330 450721ad5436
child 1358 c71e05b4dc2e
equal deleted inserted replaced
1335:c39265384763 1336:3692456e7b0f
   295 			if ( (c&7) == 0 ) {
   295 			if ( (c&7) == 0 ) {
   296 				byte = *src++;
   296 				byte = *src++;
   297 			}
   297 			}
   298 			bit = (byte&0x80)>>7;
   298 			bit = (byte&0x80)>>7;
   299 			if ( bit != ckey ) {
   299 			if ( bit != ckey ) {
   300 				memcpy(dst, &palmap[bit*4], 3);
   300 				SDL_memcpy(dst, &palmap[bit*4], 3);
   301 			}
   301 			}
   302 			byte <<= 1;
   302 			byte <<= 1;
   303 			dst += 3;
   303 			dst += 3;
   304 		}
   304 		}
   305 		src += srcskip;
   305 		src += srcskip;