*** empty log message ***
authorSam Lantinga <slouken@libsdl.org>
Fri, 08 Aug 2003 21:39:12 +0000
changeset 67363419da96d13
parent 672 5955fa16d4b8
child 674 be597a247e20
*** empty log message ***
test/testoverlay2.c
     1.1 --- a/test/testoverlay2.c	Fri Aug 08 21:31:18 2003 +0000
     1.2 +++ b/test/testoverlay2.c	Fri Aug 08 21:39:12 2003 +0000
     1.3 @@ -251,10 +251,6 @@
     1.4  	SDL_UnlockSurface(s);
     1.5  }
     1.6  
     1.7 -void Draw()
     1.8 -{
     1.9 -}
    1.10 -
    1.11  static void PrintUsage(char *argv0)
    1.12  {
    1.13      fprintf(stderr, "Usage: %s [arg] [arg] [arg] ...\n", argv0);
    1.14 @@ -384,7 +380,7 @@
    1.15      }
    1.16  
    1.17      /* load the trojan moose images */
    1.18 -    handle=SDL_RWFromFile("moose.dat", "r");
    1.19 +    handle=SDL_RWFromFile("moose.dat", "rb");
    1.20      if (handle==NULL)
    1.21      {
    1.22          fprintf(stderr, "Can't find the file moose.dat !\n");
    1.23 @@ -404,7 +400,7 @@
    1.24      }
    1.25      atexit(SDL_Quit);
    1.26  
    1.27 -    /* Set 640x480 video mode */
    1.28 +    /* Set video mode */
    1.29      if ( (screen=SDL_SetVideoMode(MOOSEPIC_W*scale, MOOSEPIC_H*scale, 0, SDL_RESIZABLE | SDL_SWSURFACE)) == NULL )
    1.30      {
    1.31          fprintf(stderr, "Couldn't set video mode: %s\n", 0, SDL_GetError());