diff options
-rw-r--r-- | graftest/graftest.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/graftest/graftest.c b/graftest/graftest.c index 81997f2..5dbfcfc 100644 --- a/graftest/graftest.c +++ b/graftest/graftest.c @@ -211,7 +211,7 @@ int main(int argc, char **argv) { render_level(lev); while(!done) { start = SDL_GetTicks(); - end = start + 167; // NTSC timing + end = start + 16; // NTSC timing while(SDL_PollEvent(&event)) { if(event.type == SDL_QUIT) { @@ -259,7 +259,7 @@ int main(int argc, char **argv) { SDL_Delay(end - now); // fprintf(stderr, "frame took %d ms\n", now - start); } else { - // fprintf(stderr, "!! frame took too long, %d ms\n", now - end); + fprintf(stderr, "!! frame took too long by %d ms\n", now - end); } } |