From 7900f2b598991787b0413f23fe1e0708131e576b Mon Sep 17 00:00:00 2001 From: Spoike Date: Thu, 4 Aug 2005 11:42:15 +0000 Subject: [PATCH] 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 --- engine/gl/gl_rmain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/gl/gl_rmain.c b/engine/gl/gl_rmain.c index ef99c122e..1f2d69019 100644 --- a/engine/gl/gl_rmain.c +++ b/engine/gl/gl_rmain.c @@ -1414,7 +1414,7 @@ void R_SetupGL (void) else { 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 GL_ParallelPerspective(0, r_refdef.vrect.width, 0, r_refdef.vrect.height, -9999, 9999); }