Mercurial > sdl-ios-xcode
diff test/testsprite2.c @ 4598:66e13a224bd6
Major changes to drawing. Reverted back to core X11 functions due to regressions.
author | Sunny Sachanandani <sunnysachanandani@gmail.com> |
---|---|
date | Sun, 18 Jul 2010 18:27:38 +0530 |
parents | dc26c37ad70e |
children | cd2523c69d3e |
line wrap: on
line diff
--- a/test/testsprite2.c Sun Jul 18 12:43:04 2010 +0530 +++ b/test/testsprite2.c Sun Jul 18 18:27:38 2010 +0530 @@ -144,8 +144,8 @@ /* Test points */ SDL_SetRenderDrawColor(0xFF, 0x00, 0x00, 0xFF); SDL_RenderDrawPoint(0, 0); - SDL_RenderDrawPoint(window_w-1, 0); - SDL_RenderDrawPoint(0, window_h-1); + SDL_RenderDrawPoint(window_w/2-1, window_h/2-1); + SDL_RenderDrawPoint(window_w/2-1, window_h/2-1); SDL_RenderDrawPoint(window_w-1, window_h-1); /* Test horizontal and vertical lines */