Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed warning and missing animation delay in testoverlay2 program.
  • Loading branch information
philippwiesemann committed Dec 30, 2016
1 parent c2b90f2 commit e61daa7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/testoverlay2.c
Expand Up @@ -150,7 +150,7 @@ int paused = 0;
int i;
SDL_bool done = SDL_FALSE;
Uint32 pixel_format = SDL_PIXELFORMAT_YV12;
int fpsdelay;
static int fpsdelay;

/* Call this instead of exit(), so we can clean up SDL: atexit() is evil. */
static void
Expand Down Expand Up @@ -328,7 +328,6 @@ main(int argc, char **argv)
SDL_Window *window;
int j;
int fps = 12;
int fpsdelay;
int nodelay = 0;
#ifdef TEST_NV12
Uint32 pixel_format = SDL_PIXELFORMAT_NV12;
Expand Down

0 comments on commit e61daa7

Please sign in to comment.