From 42114392db4b787646f55e85cdfbf426f94ae439 Mon Sep 17 00:00:00 2001 From: divverent Date: Tue, 14 Dec 2010 15:23:30 +0000 Subject: [PATCH] remove another useless check git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10661 d7cf8633-e32d-0410-b094-e92efae38249 --- gl_rmain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gl_rmain.c b/gl_rmain.c index 8130d159..a08e3ff8 100644 --- a/gl_rmain.c +++ b/gl_rmain.c @@ -12650,7 +12650,7 @@ static void R_DrawTextureSurfaceList_GL20(int texturenumsurfaces, const msurface R_SetupShader_Surface(vec3_origin, (rsurface.texture->currentmaterialflags & MATERIALFLAG_MODELLIGHT) != 0, 1, 1, rsurface.texture->specularscale, RSURFPASS_BASE, end-start, texturesurfacelist + start, NULL); RSurf_DrawBatch(); } - else if ((rsurface.texture->currentmaterialflags & MATERIALFLAG_REFLECTION) && !r_waterstate.renderingscene) + else if ((rsurface.texture->currentmaterialflags & MATERIALFLAG_REFLECTION)) { // render surface with reflection texture as input GL_DepthMask(writedepth && !(rsurface.texture->currentmaterialflags & MATERIALFLAG_BLENDED)); -- 2.39.2