Mercurial > sdl-ios-xcode
diff test/testoverlay2.c @ 673:63419da96d13
*** empty log message ***
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Fri, 08 Aug 2003 21:39:12 +0000 |
parents | 5955fa16d4b8 |
children | b14fdadd8311 |
line wrap: on
line diff
--- a/test/testoverlay2.c Fri Aug 08 21:31:18 2003 +0000 +++ b/test/testoverlay2.c Fri Aug 08 21:39:12 2003 +0000 @@ -251,10 +251,6 @@ SDL_UnlockSurface(s); } -void Draw() -{ -} - static void PrintUsage(char *argv0) { fprintf(stderr, "Usage: %s [arg] [arg] [arg] ...\n", argv0); @@ -384,7 +380,7 @@ } /* load the trojan moose images */ - handle=SDL_RWFromFile("moose.dat", "r"); + handle=SDL_RWFromFile("moose.dat", "rb"); if (handle==NULL) { fprintf(stderr, "Can't find the file moose.dat !\n"); @@ -404,7 +400,7 @@ } atexit(SDL_Quit); - /* Set 640x480 video mode */ + /* Set video mode */ if ( (screen=SDL_SetVideoMode(MOOSEPIC_W*scale, MOOSEPIC_H*scale, 0, SDL_RESIZABLE | SDL_SWSURFACE)) == NULL ) { fprintf(stderr, "Couldn't set video mode: %s\n", 0, SDL_GetError());