From 1dd95f5e3b0accdb416f8dff5babf04b9ad4758d Mon Sep 17 00:00:00 2001 From: James R Date: Sat, 21 Mar 2020 12:53:33 -0700 Subject: [PATCH] gr_shearing doesn't exist in master! --- src/p_user.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/p_user.c b/src/p_user.c index d07b71390..031a607c1 100644 --- a/src/p_user.c +++ b/src/p_user.c @@ -7503,7 +7503,11 @@ boolean P_MoveChaseCamera(player_t *player, camera_t *thiscam, boolean resetcall } pitch = thiscam->pitch + (angle_t)FixedMul(pitch - thiscam->pitch, camspeed/4); - if (rendermode == render_opengl && !cv_grshearing.value) + if (rendermode == render_opengl +#ifdef GL_SHADERS/* just so we can't possibly forget about it */ + && !cv_grshearing.value +#endif + ) distxy = FixedMul(dist, FINECOSINE((pitch>>ANGLETOFINESHIFT) & FINEMASK)); else distxy = dist;