*** empty log message ***
authorSam Lantinga <slouken@libsdl.org>
Fri, 08 Aug 2003 21:39:12 +0000
changeset 673 63419da96d13
parent 672 5955fa16d4b8
child 674 be597a247e20
*** empty log message ***
test/testoverlay2.c
--- 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());