Patch from Ken Rogoway:

Migrate all of the recent changes into the SDL VS2005 project file.
Fix missing return value in SDL_pixels.c
Fix compile error in testscale.c, variable was incorrectly named.
Added VS2005 project file for testscale
This commit is contained in:
Sam Lantinga 2011-02-14 00:45:16 -08:00
parent 72cdb910fb
commit 20b4d9f762
4 changed files with 310 additions and 40 deletions

View file

@ -83,7 +83,6 @@ void
Draw(DrawState *s)
{
int w, h;
SDL_Rect rect;
SDL_GetWindowSize(s->window, &w, &h);
@ -177,7 +176,7 @@ main(int argc, char *argv[])
printf("%2.2f frames per second\n", fps);
}
SDL_stack_free(drawstate);
SDL_stack_free(drawstates);
quit(0);
return 0;