]> 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)
committerRudolf Polzer <divVerent@xonotic.org>
Sat, 23 Jul 2011 08:20:56 +0000 (10:20 +0200)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11249 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=ef3ee13a9b63f6c849d620b1b99710343f3addbb

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)