]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - r_shadow.c
some more minor cleanups
[xonotic/darkplaces.git] / r_shadow.c
index 9fae3b8203786a5f5cb44c49e96d0bb9c97f9d73..84a1484cd78122d6dd2eefba69b890beb860fefd 100644 (file)
@@ -838,8 +838,7 @@ int R_Shadow_ScissorForBBox(const float *mins, const float *maxs)
        if (DotProduct(vpn, v2) <= f)
        {
                // entirely behind nearclip plane
-               qglDisable(GL_SCISSOR_TEST);
-               return false;
+               return true;
        }
        if (DotProduct(vpn, v) >= f)
        {