summaryrefslogtreecommitdiff
path: root/src/gui/setup.cpp
diff options
context:
space:
mode:
authorEugenio Favalli <elvenprogrammer@gmail.com>2005-07-09 11:00:51 +0000
committerEugenio Favalli <elvenprogrammer@gmail.com>2005-07-09 11:00:51 +0000
commitd3202d55214abb4e6df30a54eceff3b24746ee13 (patch)
treebefa461cb42b382894d7bbb1bcd4e77457f260b7 /src/gui/setup.cpp
parenta458bf24b65f7f2b7e8c4aa156e04ab672a79e6e (diff)
downloadmana-d3202d55214abb4e6df30a54eceff3b24746ee13.tar.gz
mana-d3202d55214abb4e6df30a54eceff3b24746ee13.tar.bz2
mana-d3202d55214abb4e6df30a54eceff3b24746ee13.tar.xz
mana-d3202d55214abb4e6df30a54eceff3b24746ee13.zip
Some win32 fixes most of all
Diffstat (limited to 'src/gui/setup.cpp')
-rw-r--r--src/gui/setup.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/setup.cpp b/src/gui/setup.cpp
index a01e804f..b839c459 100644
--- a/src/gui/setup.cpp
+++ b/src/gui/setup.cpp
@@ -215,12 +215,12 @@ void Setup::action(const std::string &eventId)
displayFlags &= ~SDL_FULLSCREEN;
changed = true;
}
-
+
if(changed) {
displayFlags |= SDL_DOUBLEBUF;
if (useOpenGL) {
- displayFlags |= SDL_OPENGL;
- SDL_GL_SetAttribute(SDL_GL_DOUBLEBUFFER, 1);
+ //displayFlags |= SDL_OPENGL;
+ //SDL_GL_SetAttribute(SDL_GL_DOUBLEBUFFER, 1);
}
screen = SDL_SetVideoMode(screenW, screenH, bitDepth, displayFlags);
@@ -228,7 +228,7 @@ void Setup::action(const std::string &eventId)
std::cerr << "Couldn't set " << screenW << "x" <<
screenH << "x" << bitDepth << " video mode: " <<
SDL_GetError() << std::endl;
- exit(1);
+ exit(1);
}
}