comparison src/video/SDL_blit.h @ 2853:6258fa7cd300

Fixed picking blit function when RLE fails
author Sam Lantinga <slouken@libsdl.org>
date Sun, 07 Dec 2008 22:37:40 +0000
parents 4dba7aa7ea77
children 99210400e8b9
comparison
equal deleted inserted replaced
2852:7046f9567045 2853:6258fa7cd300
50 #define SDL_COPY_COLORKEY 0x00000100 50 #define SDL_COPY_COLORKEY 0x00000100
51 #define SDL_COPY_NEAREST 0x00000200 51 #define SDL_COPY_NEAREST 0x00000200
52 #define SDL_COPY_RLE_DESIRED 0x00001000 52 #define SDL_COPY_RLE_DESIRED 0x00001000
53 #define SDL_COPY_RLE_COLORKEY 0x00002000 53 #define SDL_COPY_RLE_COLORKEY 0x00002000
54 #define SDL_COPY_RLE_ALPHAKEY 0x00004000 54 #define SDL_COPY_RLE_ALPHAKEY 0x00004000
55 #define SDL_COPY_RLE_MASK (SDL_COPY_RLE_DESIRED|SDL_COPY_RLE_COLORKEY|SDL_COPY_RLE_ALPHAKEY)
55 56
56 /* SDL blit CPU flags */ 57 /* SDL blit CPU flags */
57 #define SDL_CPU_ANY 0x00000000 58 #define SDL_CPU_ANY 0x00000000
58 #define SDL_CPU_MMX 0x00000001 59 #define SDL_CPU_MMX 0x00000001
59 #define SDL_CPU_3DNOW 0x00000002 60 #define SDL_CPU_3DNOW 0x00000002