Resync tip to default. Using named branches is a bad idea.
1.1 --- a/test/testsprite2.c Sun Jul 18 18:45:30 2010 +0530
1.2 +++ b/test/testsprite2.c Sun Jul 18 19:03:39 2010 +0530
1.3 @@ -20,7 +20,7 @@
1.4 static SDL_Rect *positions;
1.5 static SDL_Rect *velocities;
1.6 static int sprite_w, sprite_h;
1.7 -static SDL_BlendMode blendMode = SDL_BLENDMODE_BLEND;
1.8 +static SDL_BlendMode blendMode = SDL_BLENDMODE_MASK;
1.9 static SDL_TextureScaleMode scaleMode = SDL_TEXTURESCALEMODE_NONE;
1.10
1.11 /* Call this instead of exit(), so we can clean up SDL: atexit() is evil. */
1.12 @@ -144,8 +144,8 @@
1.13 /* Test points */
1.14 SDL_SetRenderDrawColor(0xFF, 0x00, 0x00, 0xFF);
1.15 SDL_RenderDrawPoint(0, 0);
1.16 - SDL_RenderDrawPoint(window_w/2-1, window_h/2-1);
1.17 - SDL_RenderDrawPoint(window_w/2-1, window_h/2-1);
1.18 + SDL_RenderDrawPoint(window_w-1, 0);
1.19 + SDL_RenderDrawPoint(0, window_h-1);
1.20 SDL_RenderDrawPoint(window_w-1, window_h-1);
1.21
1.22 /* Test horizontal and vertical lines */