From: havoc Date: Thu, 21 Jul 2011 22:08:22 +0000 (+0000) Subject: remove a redundant (and bugged) check X-Git-Tag: xonotic-v0.6.0~163^2~302 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=ef3ee13a9b63f6c849d620b1b99710343f3addbb;p=xonotic%2Fdarkplaces.git remove a redundant (and bugged) check git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11249 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/gl_rmain.c b/gl_rmain.c index 2f84b7fb..eb83eac7 100644 --- a/gl_rmain.c +++ b/gl_rmain.c @@ -2001,8 +2001,6 @@ void R_SetupShader_ShowDepth(qboolean notrippy) int permutation = 0; if (r_trippy.integer && !notrippy) permutation |= SHADERPERMUTATION_TRIPPY; - if (r_trippy.integer) - permutation |= SHADERPERMUTATION_TRIPPY; if (vid.allowalphatocoverage) GL_AlphaToCoverage(false); switch (vid.renderpath)