test/testime.c
changeset 5244 762e40fb8e28
parent 5150 1435f8a6425c
child 5535 96594ac5fd1a
     1.1 --- a/test/testime.c	Thu Feb 10 11:39:08 2011 -0800
     1.2 +++ b/test/testime.c	Thu Feb 10 12:14:37 2011 -0800
     1.3 @@ -122,12 +122,9 @@
     1.4  
     1.5      if (fullscreen)
     1.6      {
     1.7 -        SDL_DisplayMode mode;
     1.8 -        SDL_GetDesktopDisplayMode(&mode);
     1.9 -
    1.10 -        width = mode.w;
    1.11 -        height = mode.h;
    1.12 -        fprintf(stderr, "%dx%d\n", width, height);
    1.13 +        /* Use the desktop mode */
    1.14 +        width = 0;
    1.15 +        height = 0;
    1.16          flags |= SDL_FULLSCREEN;
    1.17      }
    1.18  
    1.19 @@ -375,3 +372,5 @@
    1.20      CleanupVideo();
    1.21      return 0;
    1.22  }
    1.23 +
    1.24 +/* vi: set ts=4 sw=4 expandtab: */