From b61d4e1d72c501d28b6b7e6e30ade48345b58622 Mon Sep 17 00:00:00 2001 From: havoc Date: Mon, 28 Sep 2009 22:20:32 +0000 Subject: [PATCH] fix stencil clear git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9253 d7cf8633-e32d-0410-b094-e92efae38249 --- r_shadow.c | 1 + 1 file changed, 1 insertion(+) 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); -- 2.39.2