- took GetMaxViewPitch out of renderer interfaces.
With live switching and both renderers on the same backend the old approach will no longer work.
This commit is contained in:
parent
9a919960c9
commit
51bf2eb9fa
6 changed files with 29 additions and 40 deletions
|
|
@ -235,13 +235,6 @@ void FSoftwareRenderer::DrawRemainingPlayerSprites()
|
|||
}
|
||||
}
|
||||
|
||||
int FSoftwareRenderer::GetMaxViewPitch(bool down)
|
||||
{
|
||||
int MAX_DN_ANGLE = MIN(56, (int)maxviewpitch); // Max looking down angle
|
||||
int MAX_UP_ANGLE = MIN(32, (int)maxviewpitch); // Max looking up angle
|
||||
return (r_polyrenderer) ? int(maxviewpitch) : (down ? MAX_DN_ANGLE : ((cl_oldfreelooklimit) ? MAX_UP_ANGLE : MAX_DN_ANGLE));
|
||||
}
|
||||
|
||||
void FSoftwareRenderer::OnModeSet ()
|
||||
{
|
||||
mScene.ScreenResized();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue