fixed title
This commit is contained in:
parent
3fe10c2091
commit
0adbb6acb6
2
main.c
2
main.c
@ -172,7 +172,7 @@ void run_game(void)
|
|||||||
if(frame_now - frame_prev > 1000)
|
if(frame_now - frame_prev > 1000)
|
||||||
{
|
{
|
||||||
char buf[16];
|
char buf[16];
|
||||||
sprintf(buf, "buldthensnip | FPS: %d", fps);
|
sprintf(buf, "buld then snip | FPS: %d", fps);
|
||||||
SDL_WM_SetCaption(buf, 0);
|
SDL_WM_SetCaption(buf, 0);
|
||||||
fps = 0;
|
fps = 0;
|
||||||
frame_prev = SDL_GetTicks();
|
frame_prev = SDL_GetTicks();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user