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:
@@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user