mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-16 04:30:38 +00:00
SW: Add FOV support.
This commit is contained in:
parent
edccdccfb4
commit
9d11c7dfb1
1 changed files with 2 additions and 0 deletions
|
@ -2162,6 +2162,8 @@ drawscreen(PLAYERp pp)
|
|||
videoSetCorrectedAspect();
|
||||
}
|
||||
|
||||
renderSetAspect(Blrintf(float(viewingrange) * tanf(r_fov * (fPI/360.f))), yxaspect);
|
||||
|
||||
if (FAF_DebugView)
|
||||
videoClearViewableArea(255);
|
||||
|
||||
|
|
Loading…
Reference in a new issue