fix compile error caused by incompletely reverting an unfinished GZDoom feature

This commit is contained in:
Christoph Oelckers 2024-02-28 07:08:06 +01:00
parent af0ee3451d
commit 326c49ebed

View file

@ -153,7 +153,7 @@ void RenderViewpoint(FRenderViewpoint& mainvp, IntRect* bounds, float fov, float
di->Viewpoint.FieldOfView = FAngle::fromDeg(fov); // Set the real FOV for the current scene (it's not necessarily the same as the global setting in r_viewpoint) di->Viewpoint.FieldOfView = FAngle::fromDeg(fov); // Set the real FOV for the current scene (it's not necessarily the same as the global setting in r_viewpoint)
// Stereo mode specific perspective projection // Stereo mode specific perspective projection
di->VPUniforms.mProjectionMatrix = eye.GetProjection(fov, ratio, fovratio, false); di->VPUniforms.mProjectionMatrix = eye.GetProjection(fov, ratio, fovratio);
// Stereo mode specific viewpoint adjustment // Stereo mode specific viewpoint adjustment
if (eye.mShiftFactor != 0) if (eye.mShiftFactor != 0)