From 2a33a9523332d095f577dad2c5a75010ca477472 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sun, 16 Nov 2003 05:36:11 +0000 Subject: [PATCH] disable resolution forcing --- stepmania/src/RageDisplay.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/stepmania/src/RageDisplay.cpp b/stepmania/src/RageDisplay.cpp index 8027f3eae7..28da5362a1 100644 --- a/stepmania/src/RageDisplay.cpp +++ b/stepmania/src/RageDisplay.cpp @@ -53,6 +53,11 @@ CString RageDisplay::PixelFormatToString( PixelFormat pixfmt ) bool RageDisplay::SetVideoMode( VideoModeParams p ) { /* Round to the nearest valid fullscreen resolution */ + /* Don't do this: we might be manually set to a less common resolution, + * like 1280x1024 or 640x240, which are occasionally useful. XXX: how + * should we do this sanity check? A list of acceptable height/widths, + * forcing unknown ones? */ + /* if( !p.windowed ) { if( p.width <= 320 ) p.width = 320; @@ -75,7 +80,7 @@ bool RageDisplay::SetVideoMode( VideoModeParams p ) default: ASSERT(0); } } - +*/ bool bNeedReloadTextures; CString err;