mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 22:51:57 +00:00
fix stupid bug with vf_perspective 0 and maxdist 0.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4627 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
cef708e7af
commit
4a88b21e11
1 changed files with 1 additions and 1 deletions
|
@ -467,7 +467,7 @@ void R_SetupGL (float stereooffset)
|
|||
if (gl_maxdist.value>=1)
|
||||
Matrix4x4_CM_Orthographic(r_refdef.m_projection, -fov_x/2, fov_x/2, -fov_y/2, fov_y/2, -gl_maxdist.value, gl_maxdist.value);
|
||||
else
|
||||
Matrix4x4_CM_Orthographic(r_refdef.m_projection, 0, r_refdef.vrect.width, 0, r_refdef.vrect.height, -9999, 9999);
|
||||
Matrix4x4_CM_Orthographic(r_refdef.m_projection, -fov_x/2, fov_x/2, -fov_y/2, fov_y/2, -9999, 9999);
|
||||
}
|
||||
|
||||
newa[0] = r_refdef.viewangles[0];
|
||||
|
|
Loading…
Reference in a new issue