diff src/video/SDL_video.c @ 5143:e743b9c3f6d6

Making the API simpler, the blend modes are "none, blend, add" and are supported by all renderers.
author Sam Lantinga <slouken@libsdl.org>
date Mon, 31 Jan 2011 23:23:57 -0800
parents da10636e5eca
children 31e7f523ab3d
line wrap: on
line diff
--- a/src/video/SDL_video.c	Mon Jan 31 22:53:45 2011 -0800
+++ b/src/video/SDL_video.c	Mon Jan 31 23:23:57 2011 -0800
@@ -1703,7 +1703,7 @@
     } else {
         if (surface->format->Amask
             || !(surface->map->info.flags &
-                 (SDL_COPY_COLORKEY | SDL_COPY_MASK | SDL_COPY_BLEND))) {
+                 (SDL_COPY_COLORKEY | SDL_COPY_BLEND))) {
             Uint32 it;
             int pfmt;