If the first TryVideoMode fails, log the error, since if one of the fallbacks
works, we'll never see the error.
This commit is contained in:
@@ -53,6 +53,7 @@ bool RageDisplay::SetVideoMode( VideoModeParams p )
|
||||
err = this->TryVideoMode(p,bNeedReloadTextures);
|
||||
if( err == "" )
|
||||
return bNeedReloadTextures;
|
||||
LOG->Trace( "TryVideoMode failed: %s", err.c_str() );
|
||||
|
||||
// fall back
|
||||
p.windowed = false;
|
||||
|
||||
Reference in New Issue
Block a user