make SetVideoMode not throw

This commit is contained in:
Glenn Maynard
2004-11-30 20:01:07 +00:00
parent 388fb41404
commit 6f46898f69
6 changed files with 30 additions and 19 deletions
+3 -1
View File
@@ -128,7 +128,9 @@ void ApplyGraphicOptions()
{
bool bNeedReload = false;
bNeedReload |= DISPLAY->SetVideoMode( GetCurVideoModeParams() );
CString sError = DISPLAY->SetVideoMode( GetCurVideoModeParams(), bNeedReload );
if( sError != "" )
RageException::Throw( sError );
DISPLAY->ChangeCentering(
PREFSMAN->m_iCenterImageTranslateX,