FIXME: Aspect ratio. Solved with a recent commit to the Xbox GraphicsScreen.

This commit is contained in:
Renaud Lepage
2006-09-15 15:06:55 +00:00
parent 262518fc85
commit 51bbfb87f3
+2 -2
View File
@@ -322,8 +322,8 @@ void RageDisplay_D3D::GetDisplayResolutions( DisplayResolutions &out ) const
float RageDisplay_D3D::GetMonitorAspectRatio() const
{
#if defined(XBOX)
// FIXME
return 4/3.f;
VideoModeParams p = GetActualVideoModeParams();
return p.width / (float)p.height;
#else
return g_DesktopMode.Width / (float)g_DesktopMode.Height;
#endif