Fixed Direct3D rendering

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403244
This commit is contained in:
Sam Lantinga 2008-11-25 00:29:44 +00:00
parent 4123b08dad
commit 32593c2bac
2 changed files with 50 additions and 4 deletions

View file

@ -83,7 +83,7 @@ MoveSprites(SDL_WindowID window, SDL_TextureID sprite)
{
int i, n;
int window_w, window_h;
SDL_Rect area, *position, *velocity;
SDL_Rect *position, *velocity;
SDL_SelectRenderer(window);
@ -291,8 +291,8 @@ main(int argc, char *argv[])
/* Print out some timing information */
now = SDL_GetTicks();
if (now > then) {
printf("%2.2f frames per second\n",
((double) frames * 1000) / (now - then));
double fps = ((double) frames * 1000) / (now - then);
printf("%2.2f frames per second\n", fps);
}
quit(0);
}