Fixed warning and missing animation delay in testoverlay2 program.
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Fri, 30 Dec 2016 19:57:50 +0100
changeset 10731fe1e3dfa67ef
parent 10730 c3695a400046
child 10732 617f3de85b0a
Fixed warning and missing animation delay in testoverlay2 program.
test/testoverlay2.c
     1.1 --- a/test/testoverlay2.c	Wed Dec 28 20:11:29 2016 +0100
     1.2 +++ b/test/testoverlay2.c	Fri Dec 30 19:57:50 2016 +0100
     1.3 @@ -150,7 +150,7 @@
     1.4  int i;
     1.5  SDL_bool done = SDL_FALSE;
     1.6  Uint32 pixel_format = SDL_PIXELFORMAT_YV12;
     1.7 -int fpsdelay;
     1.8 +static int fpsdelay;
     1.9  
    1.10  /* Call this instead of exit(), so we can clean up SDL: atexit() is evil. */
    1.11  static void
    1.12 @@ -328,7 +328,6 @@
    1.13      SDL_Window *window;
    1.14      int j;
    1.15      int fps = 12;
    1.16 -    int fpsdelay;
    1.17      int nodelay = 0;
    1.18  #ifdef TEST_NV12
    1.19      Uint32 pixel_format = SDL_PIXELFORMAT_NV12;