1
0
Fork 0
forked from fte/fteqw

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:
Spoike 2005-08-04 11:42:15 +00:00
parent 7903310326
commit 7900f2b598

View file

@ -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);
} }