diff test/testsprite2.c @ 4596:dc26c37ad70e

Got testsprite2 to work reasonably.
author Sunny Sachanandani <sunnysachanandani@gmail.com>
date Sun, 18 Jul 2010 08:28:35 +0530
parents 64ce267332c6
children 66e13a224bd6
line wrap: on
line diff
--- a/test/testsprite2.c	Sat Jul 17 15:53:29 2010 +0530
+++ b/test/testsprite2.c	Sun Jul 18 08:28:35 2010 +0530
@@ -20,7 +20,7 @@
 static SDL_Rect *positions;
 static SDL_Rect *velocities;
 static int sprite_w, sprite_h;
-static SDL_BlendMode blendMode = SDL_BLENDMODE_MASK;
+static SDL_BlendMode blendMode = SDL_BLENDMODE_BLEND;
 static SDL_TextureScaleMode scaleMode = SDL_TEXTURESCALEMODE_NONE;
 
 /* Call this instead of exit(), so we can clean up SDL: atexit() is evil. */