From: havoc Date: Mon, 28 Sep 2009 22:20:32 +0000 (+0000) Subject: fix stencil clear X-Git-Tag: xonotic-v0.1.0preview~1380 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=b61d4e1d72c501d28b6b7e6e30ade48345b58622;p=xonotic%2Fdarkplaces.git fix stencil clear git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9253 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/r_shadow.c b/r_shadow.c index cb551ceb..65a54f76 100644 --- a/r_shadow.c +++ b/r_shadow.c @@ -3757,6 +3757,7 @@ void R_DrawRTLight(rtlight_t *rtlight, qboolean visible) { // draw stencil shadow volumes to mask off pixels that are in shadow // so that they won't receive lighting + GL_Scissor(r_shadow_lightscissor[0], r_shadow_lightscissor[1], r_shadow_lightscissor[2], r_shadow_lightscissor[3]); R_Shadow_ClearStencil(); if (numsurfaces) R_Shadow_DrawWorldShadow(numsurfaces, surfacelist, shadowtrispvs);