From c78cbd62f43e0cb743ecf56f64e18d3ac7be633e Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sun, 15 Jan 2006 00:14:25 +0000 Subject: [PATCH] Simplify: harmless to call ChangeDisplaySettings(NULL,0) when going windowed to windowed, too. (This g_CurrentParams use is confusing; trying to reduce it ...) --- stepmania/src/archutils/Win32/GraphicsWindow.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/stepmania/src/archutils/Win32/GraphicsWindow.cpp b/stepmania/src/archutils/Win32/GraphicsWindow.cpp index 63336640b0..96b6ca752a 100644 --- a/stepmania/src/archutils/Win32/GraphicsWindow.cpp +++ b/stepmania/src/archutils/Win32/GraphicsWindow.cpp @@ -188,8 +188,7 @@ CString GraphicsWindow::SetScreenMode( const VideoModeParams &p ) if( p.windowed ) { /* We're going windowed. If we were previously fullscreen, reset. */ - if( !g_CurrentParams.windowed ) - ChangeDisplaySettings( NULL, 0 ); + ChangeDisplaySettings( NULL, 0 ); return CString(); }