aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/main/depth.c
diff options
context:
space:
mode:
Diffstat (limited to 'mesalib/src/mesa/main/depth.c')
-rw-r--r--mesalib/src/mesa/main/depth.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/mesalib/src/mesa/main/depth.c b/mesalib/src/mesa/main/depth.c
index 52c69a6bc..bb1625440 100644
--- a/mesalib/src/mesa/main/depth.c
+++ b/mesalib/src/mesa/main/depth.c
@@ -54,8 +54,6 @@ _mesa_ClearDepth( GLclampd depth )
FLUSH_VERTICES(ctx, _NEW_DEPTH);
ctx->Depth.Clear = depth;
- if (ctx->Driver.ClearDepth)
- (*ctx->Driver.ClearDepth)( ctx, ctx->Depth.Clear );
}