Simplify exception handling. Improve fallback if we can't set up an

OpenGL window.
This commit is contained in:
Glenn Maynard
2003-06-25 20:44:49 +00:00
parent 1d655dcb7a
commit 2206e32cef
4 changed files with 28 additions and 15 deletions
+1 -1
View File
@@ -92,7 +92,7 @@ bool RageDisplay::SetVideoMode( VideoModeParams p )
if( this->TryVideoMode(p,bNeedReloadTextures) )
return bNeedReloadTextures;
RageException::Throw( "SetVideoMode failed. Tried to fall back to other modes, but nothing worked." );
RageException::ThrowNonfatal( "SetVideoMode failed. Tried to fall back to other modes, but nothing worked." );
}
void RageDisplay::ProcessStatsOnFlip()