From 83e8ba6a4eeffd55da96c5377d2a0e2fe0867821 Mon Sep 17 00:00:00 2001 From: havoc Date: Mon, 31 Oct 2011 07:01:42 +0000 Subject: [PATCH] fix r_shadow_deferred total breakage from r11146 git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11495 d7cf8633-e32d-0410-b094-e92efae38249 ::stable-branch::merge=9d9ed57e5aa682c499f1a8dcbc5b9774432302fe --- gl_rmain.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gl_rmain.c b/gl_rmain.c index 7fc61ce3..45991812 100644 --- a/gl_rmain.c +++ b/gl_rmain.c @@ -9822,6 +9822,7 @@ static void R_DrawTextureSurfaceList_GL20(int texturenumsurfaces, const msurface GL_DepthMask(true); R_SetupShader_Surface(vec3_origin, (rsurface.texture->currentmaterialflags & MATERIALFLAG_MODELLIGHT) != 0, 1, 1, rsurface.texture->specularscale, RSURFPASS_DEFERREDGEOMETRY, texturenumsurfaces, texturesurfacelist, NULL, false); RSurf_DrawBatch(); + return; } // bind lightmap texture -- 2.39.2