Improve error messages when OpenGL video init fails
This commit is contained in:
@@ -95,8 +95,7 @@ bool RageDisplay::SetVideoMode( VideoModeParams p )
|
||||
if( this->TryVideoMode(p,bNeedReloadTextures) == "" )
|
||||
return bNeedReloadTextures;
|
||||
|
||||
RageException::ThrowNonfatal( "SetVideoMode failed: %s. Tried to fall back to other modes, but nothing worked.",
|
||||
err.c_str() );
|
||||
RageException::ThrowNonfatal( "SetVideoMode failed: %s", err.c_str() );
|
||||
}
|
||||
|
||||
void RageDisplay::ProcessStatsOnFlip()
|
||||
|
||||
Reference in New Issue
Block a user