From ef3ee13a9b63f6c849d620b1b99710343f3addbb Mon Sep 17 00:00:00 2001 From: havoc Date: Thu, 21 Jul 2011 22:08:22 +0000 Subject: [PATCH] remove a redundant (and bugged) check git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11249 d7cf8633-e32d-0410-b094-e92efae38249 --- gl_rmain.c | 2 -- 1 file changed, 2 deletions(-) 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) -- 2.39.2