Move the call to R_SetFrustum to gl_R_SetupFrame.

This was meant to be part of the previous commit, but I forgot to write the
file :P
This commit is contained in:
Bill Currie 2012-07-03 16:08:12 +09:00
parent a8e0bcabf9
commit ee1cb24e3d

View file

@ -346,6 +346,8 @@ gl_R_SetupFrame (void)
AngleVectors (r_refdef.viewangles, vpn, vright, vup);
R_SetFrustum ();
// current viewleaf
r_viewleaf = Mod_PointInLeaf (r_origin, r_worldentity.model);
@ -401,8 +403,6 @@ R_SetupGL_Viewport_and_Perspective (void)
static void
R_SetupGL (void)
{
R_SetFrustum ();
R_SetupGL_Viewport_and_Perspective ();
if (gl_mirror) {