From 726566a601202f90e6db058f2cb081db6a27e012 Mon Sep 17 00:00:00 2001 From: pixel Date: Mon, 17 Mar 2003 07:45:26 +0000 Subject: Whoops, don't keep fullscreen --- lib/glbase.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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()); } -- cgit v1.2.3