From: Tobias Gläßer Date: Mon, 15 Mar 2004 03:02:23 +0000 (+0000) Subject: screen depth of the monitor is used. thanks to Ingo for finding this little but evil... X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=5a561b7a1d4aaa759fbef1357c8806f5575b8647;p=supertux.git screen depth of the monitor is used. thanks to Ingo for finding this little but evil bug! SVN-Revision: 234 --- diff --git a/src/setup.c b/src/setup.c index 94651c520..32d7f2f4c 100644 --- a/src/setup.c +++ b/src/setup.c @@ -554,7 +554,7 @@ void st_video_setup_sdl(void) if (use_fullscreen == YES) { - screen = SDL_SetVideoMode(640, 480, 16, SDL_FULLSCREEN ) ; /* | SDL_HWSURFACE); */ + screen = SDL_SetVideoMode(640, 480, 0, SDL_FULLSCREEN ) ; /* | SDL_HWSURFACE); */ if (screen == NULL) { fprintf(stderr, @@ -567,7 +567,7 @@ void st_video_setup_sdl(void) } else { - screen = SDL_SetVideoMode(640, 480, 16, SDL_HWSURFACE | SDL_DOUBLEBUF ); + screen = SDL_SetVideoMode(640, 480, 0, SDL_HWSURFACE | SDL_DOUBLEBUF ); if (screen == NULL) { @@ -592,7 +592,7 @@ void st_video_setup_gl(void) if (use_fullscreen == YES) { - screen = SDL_SetVideoMode(640, 480, 32, SDL_FULLSCREEN | SDL_OPENGL) ; /* | SDL_HWSURFACE); */ + screen = SDL_SetVideoMode(640, 480, 0, SDL_FULLSCREEN | SDL_OPENGL) ; /* | SDL_HWSURFACE); */ if (screen == NULL) { fprintf(stderr, @@ -605,7 +605,7 @@ void st_video_setup_gl(void) } else { - screen = SDL_SetVideoMode(640, 480, 32, SDL_OPENGL); + screen = SDL_SetVideoMode(640, 480, 0, SDL_OPENGL); if (screen == NULL) {