]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
remove a redundant (and bugged) check
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 21 Jul 2011 22:08:22 +0000 (22:08 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 21 Jul 2011 22:08:22 +0000 (22:08 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11249 d7cf8633-e32d-0410-b094-e92efae38249

gl_rmain.c

index 2f84b7fb0ec7a4471da27ef93a286bdbc558caaa..eb83eac79d6373ea2cd3a39f5c06c9a2459339c0 100644 (file)
@@ -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)