aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/main/stencil.c
diff options
context:
space:
mode:
Diffstat (limited to 'mesalib/src/mesa/main/stencil.c')
-rw-r--r--mesalib/src/mesa/main/stencil.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/mesalib/src/mesa/main/stencil.c b/mesalib/src/mesa/main/stencil.c
index b6993ff12..f47b57b8d 100644
--- a/mesalib/src/mesa/main/stencil.c
+++ b/mesalib/src/mesa/main/stencil.c
@@ -115,10 +115,6 @@ _mesa_ClearStencil( GLint s )
FLUSH_VERTICES(ctx, _NEW_STENCIL);
ctx->Stencil.Clear = (GLuint) s;
-
- if (ctx->Driver.ClearStencil) {
- ctx->Driver.ClearStencil( ctx, s );
- }
}