No need to find the refresh rate on Xbox, eh?

This commit is contained in:
Renaud Lepage
2005-08-23 02:23:36 +00:00
parent 3154841f0a
commit 7f50c97035
+2
View File
@@ -572,6 +572,7 @@ CString RageDisplay_D3D::TryVideoMode( VideoModeParams p, bool &bNewDeviceOut )
else
p.rate = g_d3dpp.FullScreen_RefreshRateInHz;
}
#ifndef _XBOX
/* Find the refresh rate. */
{
@@ -588,6 +589,7 @@ CString RageDisplay_D3D::TryVideoMode( VideoModeParams p, bool &bNewDeviceOut )
LOG->Warn( "%s", werr_ssprintf(GetLastError(), "EnumDisplaySettings failed").c_str() );
}
}
#endif
/* Call this again after changing the display mode. If we're going to a window
* from fullscreen, the first call can't set a larger window than the old fullscreen