Might as well allow gl_affinemodels to affect the viewmodel as well...

This commit is contained in:
Ragnvald Maartmann-Moe IV 2001-12-19 20:15:38 +00:00
parent e78bdb3ea6
commit 018481b1ac

View file

@ -222,7 +222,11 @@ R_DrawViewModel (void)
// hack the depth range to prevent view model from poking into walls
qfglDepthRange (gldepthmin, gldepthmin + 0.3 * (gldepthmax - gldepthmin));
if (gl_affinemodels->int_val)
qfglHint (GL_PERSPECTIVE_CORRECTION_HINT, GL_NICEST);
R_DrawAliasModel (currententity, false);
if (gl_affinemodels->int_val)
qfglHint (GL_PERSPECTIVE_CORRECTION_HINT, GL_DONT_CARE);
qfglDepthRange (gldepthmin, gldepthmax);
qfglColor3ubv (color_white);
}