From 6855fa9b2ca734d6969ad365aabd18a5499d47bf Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Thu, 29 Dec 2005 08:41:18 +0000 Subject: [PATCH] yuck, need GetScreenAspectRatio for ASPECT_AUTO. better approach coming ... --- stepmania/src/RageDisplay.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/stepmania/src/RageDisplay.cpp b/stepmania/src/RageDisplay.cpp index 414cdf8d03..77069f2f57 100644 --- a/stepmania/src/RageDisplay.cpp +++ b/stepmania/src/RageDisplay.cpp @@ -525,7 +525,9 @@ void RageDisplay::CameraPopMatrix() * post-multiplied. */ void RageDisplay::LoadLookAt( float fFOV, const RageVector3 &Eye, const RageVector3 &At, const RageVector3 &Up ) { - float fAspect = PREFSMAN->m_fDisplayAspectRatio; + // XXX + float fAspect = ScreenDimensions::GetScreenAspectRatio(); + // PREFSMAN->m_fDisplayAspectRatio; g_ProjectionStack.LoadMatrix( GetPerspectiveMatrix(fFOV, fAspect, 1, 1000) ); /* Flip the Y coordinate, so positive numbers go down. */