Make fov change view size in isometric.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1197 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
7903310326
commit
7900f2b598
1 changed files with 1 additions and 1 deletions
|
@ -1414,7 +1414,7 @@ void R_SetupGL (void)
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (gl_maxdist.value>=1)
|
if (gl_maxdist.value>=1)
|
||||||
GL_ParallelPerspective(-45, 45, 45, -45, -gl_maxdist.value, gl_maxdist.value);
|
GL_ParallelPerspective(-r_refdef.fov_x/2, r_refdef.fov_x/2, r_refdef.fov_y/2, -r_refdef.fov_y/2, -gl_maxdist.value, gl_maxdist.value);
|
||||||
else
|
else
|
||||||
GL_ParallelPerspective(0, r_refdef.vrect.width, 0, r_refdef.vrect.height, -9999, 9999);
|
GL_ParallelPerspective(0, r_refdef.vrect.width, 0, r_refdef.vrect.height, -9999, 9999);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue