Eliminate SCREEN_WIDTH/HEIGHT from RDisplay. It's up to the

user code to pass the desired camera space dimensions to
LoadMenuPerspective (normally done by Screen).  SDimensions.h
is high-level.
This commit is contained in:
Glenn Maynard
2005-12-29 18:33:03 +00:00
parent 118297bdd5
commit cdd516fd74
5 changed files with 19 additions and 18 deletions
+1 -1
View File
@@ -176,7 +176,7 @@ void ActorFrame::DrawPrimitives()
if( m_fFOV != -1 )
{
DISPLAY->CameraPushMatrix();
DISPLAY->LoadMenuPerspective( m_fFOV, m_fVanishX, m_fVanishY );
DISPLAY->LoadMenuPerspective( m_fFOV, SCREEN_WIDTH, SCREEN_HEIGHT, m_fVanishX, m_fVanishY );
}
if( m_bOverrideLighting )