Got testsprite2 to work reasonably.

This commit is contained in:
Sunny Sachanandani 2010-07-18 08:28:35 +05:30
parent f927fc59ba
commit 7c46b950ed
3 changed files with 47 additions and 64 deletions

View file

@ -20,7 +20,7 @@ static int current_color = 0;
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. */