X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=gl_backend.c;h=bb20a109a8b92ccc97a25d159cf4930f10bb6b93;hb=6f1a935ecaf044b18f487094317fcef26a467316;hp=fefedcb37402264b7905d670225ee3d04d9f69e3;hpb=174371d91d9450d9b746e581c54241acc3e757d3;p=xonotic%2Fdarkplaces.git diff --git a/gl_backend.c b/gl_backend.c index fefedcb3..bb20a109 100644 --- a/gl_backend.c +++ b/gl_backend.c @@ -706,8 +706,6 @@ qboolean R_ScissorForBBox(const float *mins, const float *maxs, int *scissor) if (BoxesOverlap(r_refdef.view.origin, r_refdef.view.origin, mins, maxs)) return false; - x1 = y1 = x2 = y2 = 0; - // transform all corners that are infront of the nearclip plane VectorNegate(r_refdef.view.frustum[4].normal, plane4f); plane4f[3] = r_refdef.view.frustum[4].dist;