projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9aa4d90
)
screen depth of the monitor is used. thanks to Ingo for finding this little but evil...
author
Tobias Gläßer
<tobi.web@gmx.de>
Mon, 15 Mar 2004 03:02:23 +0000
(
03:02
+0000)
committer
Tobias Gläßer
<tobi.web@gmx.de>
Mon, 15 Mar 2004 03:02:23 +0000
(
03:02
+0000)
SVN-Revision: 234
src/setup.c
patch
|
blob
|
history
diff --git
a/src/setup.c
b/src/setup.c
index
94651c5
..
32d7f2f
100644
(file)
--- a/
src/setup.c
+++ b/
src/setup.c
@@
-554,7
+554,7
@@
void st_video_setup_sdl(void)
if (use_fullscreen == YES)
{
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,
if (screen == NULL)
{
fprintf(stderr,
@@
-567,7
+567,7
@@
void st_video_setup_sdl(void)
}
else
{
}
else
{
- screen = SDL_SetVideoMode(640, 480,
16
, SDL_HWSURFACE | SDL_DOUBLEBUF );
+ screen = SDL_SetVideoMode(640, 480,
0
, SDL_HWSURFACE | SDL_DOUBLEBUF );
if (screen == NULL)
{
if (screen == NULL)
{
@@
-592,7
+592,7
@@
void st_video_setup_gl(void)
if (use_fullscreen == YES)
{
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,
if (screen == NULL)
{
fprintf(stderr,
@@
-605,7
+605,7
@@
void st_video_setup_gl(void)
}
else
{
}
else
{
- screen = SDL_SetVideoMode(640, 480,
32
, SDL_OPENGL);
+ screen = SDL_SetVideoMode(640, 480,
0
, SDL_OPENGL);
if (screen == NULL)
{
if (screen == NULL)
{