From bbaf375a33254916b617047ac4a396867572fc6d Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Thu, 29 Dec 2005 08:44:51 +0000 Subject: [PATCH] forgot this was stored here. Not sure if it's better for the AR to be stored here, or if ScreenDimensions::GetScreenAspectRatio should be moved to a RDisplay. After all, the dimensions of the screen (the AR preference) are RageDisplay's domain, not the theme's (just as GetThemeAspectRatio belongs to the high-level theme code and not RDisplay). --- stepmania/src/RageDisplay.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/stepmania/src/RageDisplay.cpp b/stepmania/src/RageDisplay.cpp index 77069f2f57..5372d722d0 100644 --- a/stepmania/src/RageDisplay.cpp +++ b/stepmania/src/RageDisplay.cpp @@ -525,9 +525,7 @@ void RageDisplay::CameraPopMatrix() * post-multiplied. */ void RageDisplay::LoadLookAt( float fFOV, const RageVector3 &Eye, const RageVector3 &At, const RageVector3 &Up ) { - // XXX - float fAspect = ScreenDimensions::GetScreenAspectRatio(); - // PREFSMAN->m_fDisplayAspectRatio; + float fAspect = GetActualVideoModeParams().fDisplayAspectRatio; g_ProjectionStack.LoadMatrix( GetPerspectiveMatrix(fFOV, fAspect, 1, 1000) ); /* Flip the Y coordinate, so positive numbers go down. */