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:
parent
72cdb910fb
commit
20b4d9f762
4 changed files with 310 additions and 40 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue