comparison src/video/SDL_rendercopy.h @ 1989:5b5f5de5433f

Optimized the copy blitters a little bit
author Sam Lantinga <slouken@libsdl.org>
date Mon, 28 Aug 2006 14:10:46 +0000
parents 8055185ae4ed
children 7387e0514595
comparison
equal deleted inserted replaced
1988:1ee02169bbb0 1989:5b5f5de5433f
24 24
25 /* *INDENT-OFF* */ 25 /* *INDENT-OFF* */
26 26
27 #define SDL_RENDERCOPY_MODULATE_COLOR 0x0001 27 #define SDL_RENDERCOPY_MODULATE_COLOR 0x0001
28 #define SDL_RENDERCOPY_MODULATE_ALPHA 0x0002 28 #define SDL_RENDERCOPY_MODULATE_ALPHA 0x0002
29 #define SDL_RENDERCOPY_BLEND 0x0010 29 #define SDL_RENDERCOPY_MASK 0x0010
30 #define SDL_RENDERCOPY_ADD 0x0020 30 #define SDL_RENDERCOPY_BLEND 0x0020
31 #define SDL_RENDERCOPY_MOD 0x0040 31 #define SDL_RENDERCOPY_ADD 0x0040
32 #define SDL_RENDERCOPY_MOD 0x0080
32 #define SDL_RENDERCOPY_NEAREST 0x0100 33 #define SDL_RENDERCOPY_NEAREST 0x0100
33 34
34 typedef struct { 35 typedef struct {
35 void *src; 36 void *src;
36 int src_w, src_h; 37 int src_w, src_h;