disable resolution forcing

This commit is contained in:
Glenn Maynard
2003-11-16 05:36:11 +00:00
parent 48d5a78429
commit 2a33a95233
+6 -1
View File
@@ -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;