aboutsummaryrefslogtreecommitdiff
path: root/Source/GameInitDispose.cpp
diff options
context:
space:
mode:
authorrelnev <relnev@5198baeb-e213-0410-be47-fc2ff85ca46f>2003-01-09 07:33:17 +0000
committerrelnev <relnev@5198baeb-e213-0410-be47-fc2ff85ca46f>2003-01-09 07:33:17 +0000
commitbda355af41d1ae8c99ff3de89b46e20d54e5498a (patch)
treed7560f25118dbc85dc4f0eabefdbd420934cf833 /Source/GameInitDispose.cpp
parentba6ee5ce2bbc7d4cf0b6cf6e9aeb0d1b47301bc6 (diff)
downloadblackshades-bda355af41d1ae8c99ff3de89b46e20d54e5498a.tar.gz
fix hack for real this time
git-svn-id: svn://svn.icculus.org/blackshades/trunk@66 5198baeb-e213-0410-be47-fc2ff85ca46f
Diffstat (limited to 'Source/GameInitDispose.cpp')
-rw-r--r--Source/GameInitDispose.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/GameInitDispose.cpp b/Source/GameInitDispose.cpp
index fb1dac0..dca2e8d 100644
--- a/Source/GameInitDispose.cpp
+++ b/Source/GameInitDispose.cpp
@@ -3805,9 +3805,9 @@ int Game::InitGL(GLvoid)
}
} else {
#ifdef FULLSCREEN
- if (SDL_SetVideoMode(screenwidth, screenheight, 0, SDL_OPENGL) == NULL) {
-#else
if (SDL_SetVideoMode(screenwidth, screenheight, 0, SDL_OPENGL | SDL_FULLSCREEN) == NULL) {
+#else
+ if (SDL_SetVideoMode(screenwidth, screenheight, 0, SDL_OPENGL) == NULL) {
#endif
fprintf(stderr, "(OpenGL) SDL SetVideoMode failed: %s\n", SDL_GetError());
exit(EXIT_FAILURE);