diff 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
line wrap: on
line diff
--- a/src/video/SDL_blit.h	Sun Dec 07 22:29:58 2008 +0000
+++ b/src/video/SDL_blit.h	Sun Dec 07 22:37:40 2008 +0000
@@ -52,6 +52,7 @@
 #define SDL_COPY_RLE_DESIRED        0x00001000
 #define SDL_COPY_RLE_COLORKEY       0x00002000
 #define SDL_COPY_RLE_ALPHAKEY       0x00004000
+#define SDL_COPY_RLE_MASK           (SDL_COPY_RLE_DESIRED|SDL_COPY_RLE_COLORKEY|SDL_COPY_RLE_ALPHAKEY)
 
 /* SDL blit CPU flags */
 #define SDL_CPU_ANY                 0x00000000