src/SDL_compat.c
changeset 2884 9dde605c7540
parent 2872 762f0663c36a
child 2967 e4a469d6ddab
--- a/src/SDL_compat.c	Sat Dec 20 08:41:05 2008 +0000
+++ b/src/SDL_compat.c	Sat Dec 20 12:00:00 2008 +0000
@@ -696,10 +696,10 @@
             value = 0xFF;
         }
         SDL_SetSurfaceAlphaMod(surface, value);
-        SDL_SetSurfaceBlendMode(surface, SDL_TEXTUREBLENDMODE_BLEND);
+        SDL_SetSurfaceBlendMode(surface, SDL_BLENDMODE_BLEND);
     } else {
         SDL_SetSurfaceAlphaMod(surface, 0xFF);
-        SDL_SetSurfaceBlendMode(surface, SDL_TEXTUREBLENDMODE_NONE);
+        SDL_SetSurfaceBlendMode(surface, SDL_BLENDMODE_NONE);
     }
     SDL_SetSurfaceRLE(surface, (flag & SDL_RLEACCEL));