Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
*** empty log message ***
  • Loading branch information
slouken committed Aug 8, 2003
1 parent a8e8003 commit b838704
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions test/testoverlay2.c
Expand Up @@ -251,10 +251,6 @@ ConvertRGBtoYUY2(SDL_Surface *s, SDL_Overlay *o, int monochrome, int luminance)
SDL_UnlockSurface(s);
}

void Draw()
{
}

static void PrintUsage(char *argv0)
{
fprintf(stderr, "Usage: %s [arg] [arg] [arg] ...\n", argv0);
Expand Down Expand Up @@ -384,7 +380,7 @@ int main(int argc, char **argv)
}

/* 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");
Expand All @@ -404,7 +400,7 @@ int main(int argc, char **argv)
}
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());
Expand Down

0 comments on commit b838704

Please sign in to comment.