comparison src/video/SDL_blit.h @ 2898:e40448bc7727

Share code between fill and line drawing Added general RGB surface format fallbacks to drawing code Fixed issues with destination surface alpha channel
author Sam Lantinga <slouken@libsdl.org>
date Sun, 21 Dec 2008 08:28:25 +0000
parents 99210400e8b9
children a0c837a16e4c
comparison
equal deleted inserted replaced
2897:8be863ef68ee 2898:e40448bc7727
37 #include <emmintrin.h> 37 #include <emmintrin.h>
38 #endif 38 #endif
39 39
40 #include "SDL_cpuinfo.h" 40 #include "SDL_cpuinfo.h"
41 #include "SDL_endian.h" 41 #include "SDL_endian.h"
42 #include "SDL_video.h"
42 43
43 /* SDL blit copy flags */ 44 /* SDL blit copy flags */
44 #define SDL_COPY_MODULATE_COLOR 0x00000001 45 #define SDL_COPY_MODULATE_COLOR 0x00000001
45 #define SDL_COPY_MODULATE_ALPHA 0x00000002 46 #define SDL_COPY_MODULATE_ALPHA 0x00000002
46 #define SDL_COPY_MASK 0x00000010 47 #define SDL_COPY_MASK 0x00000010
573 #if defined(_MSC_VER) && (_MSC_VER >= 600) 574 #if defined(_MSC_VER) && (_MSC_VER >= 600)
574 #pragma warning(disable: 4550) 575 #pragma warning(disable: 4550)
575 #endif 576 #endif
576 577
577 #endif /* _SDL_blit_h */ 578 #endif /* _SDL_blit_h */
579
578 /* vi: set ts=4 sw=4 expandtab: */ 580 /* vi: set ts=4 sw=4 expandtab: */