]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - gl_backend.c
bmodel shadow volumes
[xonotic/darkplaces.git] / gl_backend.c
index 160881413e71506bc8b9d555c492ba643eb2e08a..2ec09f0bc95c0d97e1866405a9bba87fe4ce67c9 100644 (file)
@@ -583,26 +583,6 @@ void R_Mesh_Finish(void)
        qglBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);CHECKGLERROR
 }
 
-void GL_DepthFunc(int value)
-{
-       if (!r_render.integer)
-               return;
-
-       qglDepthFunc (value);
-       CHECKGLERROR
-}
-
-void GL_ClearDepth(void)
-{
-       BACKENDACTIVECHECK
-
-       if (!r_render.integer)
-               return;
-
-       qglClear(GL_DEPTH_BUFFER_BIT);
-       CHECKGLERROR
-}
-
 void R_Mesh_Matrix(const matrix4x4_t *matrix)
 {
        if (memcmp(matrix, &backend_modelmatrix, sizeof(matrix4x4_t)))