summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorpixel <pixel>2003-03-17 07:45:26 +0000
committerpixel <pixel>2003-03-17 07:45:26 +0000
commit726566a601202f90e6db058f2cb081db6a27e012 (patch)
tree99d1d8e5fe79d49f2d5f1d5274e82f9071986291 /lib
parent05d399c049f3f8a84bbc2e81f1636c911cec7e26 (diff)
Whoops, don't keep fullscreen
Diffstat (limited to 'lib')
-rw-r--r--lib/glbase.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/glbase.cc b/lib/glbase.cc
index 3cdea12..8800f47 100644
--- a/lib/glbase.cc
+++ b/lib/glbase.cc
@@ -25,7 +25,7 @@ int mogltk::glbase::setup(int w, int h, int flags) throw(GeneralException) {
throw GeneralException(String("Couldn't initialise Video SubSystem: ") + SDL_GetError());
}
- if (!(surface = SDL_SetVideoMode(width, height, 0, flags | SDL_OPENGL | SDL_FULLSCREEN))) {
+ if (!(surface = SDL_SetVideoMode(width, height, 0, flags | SDL_OPENGL))) {
// if (!(surface = SDL_SetVideoMode(1024, 768, 0, flags | SDL_OPENGL))) {
throw GeneralException(String("Couldn't set GL mode: ") + SDL_GetError());
}