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:
Glenn Maynard
2004-09-19 01:47:59 +00:00
parent f056fedae2
commit 7573856a99
+1
View File
@@ -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;