From cc726313d17c2cf765a79b593ba758e4368195d2 Mon Sep 17 00:00:00 2001 From: havoc Date: Mon, 30 Apr 2018 19:54:49 +0000 Subject: [PATCH] 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 --- gl_rmain.c | 1 + 1 file changed, 1 insertion(+) 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; -- 2.39.2