*** empty log message ***

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40674
This commit is contained in:
Sam Lantinga 2003-08-08 21:39:12 +00:00
parent 4135dda11f
commit ceab9dc950

View file

@ -251,10 +251,6 @@ ConvertRGBtoYUY2(SDL_Surface *s, SDL_Overlay *o, int monochrome, int luminance)
SDL_UnlockSurface(s); SDL_UnlockSurface(s);
} }
void Draw()
{
}
static void PrintUsage(char *argv0) static void PrintUsage(char *argv0)
{ {
fprintf(stderr, "Usage: %s [arg] [arg] [arg] ...\n", argv0); fprintf(stderr, "Usage: %s [arg] [arg] [arg] ...\n", argv0);
@ -384,7 +380,7 @@ int main(int argc, char **argv)
} }
/* load the trojan moose images */ /* load the trojan moose images */
handle=SDL_RWFromFile("moose.dat", "r"); handle=SDL_RWFromFile("moose.dat", "rb");
if (handle==NULL) if (handle==NULL)
{ {
fprintf(stderr, "Can't find the file moose.dat !\n"); fprintf(stderr, "Can't find the file moose.dat !\n");
@ -404,7 +400,7 @@ int main(int argc, char **argv)
} }
atexit(SDL_Quit); 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 ) 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()); fprintf(stderr, "Couldn't set video mode: %s\n", 0, SDL_GetError());