From: havoc Date: Mon, 30 Apr 2018 19:54:49 +0000 (+0000) Subject: Fix clipping plane bug on r_water - a line had been deleted when removing RENDERPATH_... X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=cc726313d17c2cf765a79b593ba758e4368195d2;p=xonotic%2Fdarkplaces.git Fix clipping plane bug on r_water - a line had been deleted when removing RENDERPATH_SOFT that should have stayed. git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12408 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/gl_rmain.c b/gl_rmain.c index 5efd8434..0970fdb7 100644 --- a/gl_rmain.c +++ b/gl_rmain.c @@ -4545,6 +4545,7 @@ void R_SetupView(qboolean allowwaterclippingplane, int viewfbo, rtexture_t *view plane[1] = r_refdef.view.clipplane.normal[1]; plane[2] = r_refdef.view.clipplane.normal[2]; plane[3] = -dist; + customclipplane = plane; } //rtwidth = viewfbo ? R_TextureWidth(viewdepthtexture ? viewdepthtexture : viewcolortexture) : vid.width;