comparison src/video/SDL_blit_0.c @ 1336:3692456e7b0f

Use SDL_ prefixed versions of C library functions. FIXME: Change #include <stdlib.h> to #include "SDL_stdlib.h" Change #include <string.h> to #include "SDL_string.h" Make sure nothing else broke because of this...
author Sam Lantinga <slouken@libsdl.org>
date Tue, 07 Feb 2006 06:59:48 +0000
parents 450721ad5436
children c71e05b4dc2e
comparison
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;