From e20857ee48e5994561bba245d4e7f679f4e69eed Mon Sep 17 00:00:00 2001 From: stephena Date: Wed, 23 Jun 2004 03:59:59 +0000 Subject: [PATCH] Now that fullscreen OpenGL mode works in Windows, we can enable mode switching in the event loop. That's it, stick a fork in it, I'm done. It's after 1:30AM here and I'm going to bed ... git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@279 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba --- stella/src/common/mainSDL.cxx | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/stella/src/common/mainSDL.cxx b/stella/src/common/mainSDL.cxx index e9ff2fff0..f80780ad2 100644 --- a/stella/src/common/mainSDL.cxx +++ b/stella/src/common/mainSDL.cxx @@ -13,7 +13,7 @@ // See the file "license" for information on usage and redistribution of // this file, and for a DISCLAIMER OF ALL WARRANTIES. // -// $Id: mainSDL.cxx,v 1.7 2004-06-23 00:15:32 stephena Exp $ +// $Id: mainSDL.cxx,v 1.8 2004-06-23 03:59:59 stephena Exp $ //============================================================================ #include @@ -380,17 +380,7 @@ void handleEvents() else if(key == SDLK_MINUS) theDisplay->resize(-1); else if(key == SDLK_RETURN) - { -#ifdef FIXMEWIN32 - // Disable fullscreen OpenGL mode - FIXME - if(theSettings->getString("video") == "gl") - theDisplay->showMessage("Fullscreen OpenGL disabled"); - else - theDisplay->toggleFullscreen(); -#else theDisplay->toggleFullscreen(); -#endif - } #ifdef DISPLAY_OPENGL else if(key == SDLK_f && theUseOpenGLFlag) ((FrameBufferGL*)theDisplay)->toggleFilter(); @@ -868,11 +858,6 @@ int main(int argc, char* argv[]) #ifdef DISPLAY_OPENGL else if(videodriver == "gl") { - #ifdef WIN32 - // Disable fullscreen OpenGL mode in Windows for now - FIXME - theSettings->setBool("fullscreen", false); - #endif - theDisplay = new FrameBufferGL(); theUseOpenGLFlag = true; if(theShowInfoFlag)