]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
Fix clipping plane bug on r_water - a line had been deleted when removing RENDERPATH_...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 30 Apr 2018 19:54:49 +0000 (19:54 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 30 Apr 2018 19:54:49 +0000 (19:54 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12408 d7cf8633-e32d-0410-b094-e92efae38249

gl_rmain.c

index 5efd84343df087d505716bcf73af94a5a3b4ab3f..0970fdb7257273973335590ffbd76cfa0f61bba0 100644 (file)
@@ -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;