summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/stencil.c
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2012-03-11 18:31:32 -0600
committerBrian Paul <brianp@vmware.com>2012-03-12 11:40:43 -0600
commit5f80218884c0a86068d1be21920bfb191ac31349 (patch)
tree2b36e5eb3091391a936ebb77dd6232add382075d /src/mesa/main/stencil.c
parente0ed951e1361e54ffd8e9c56fbcc2027c0c4bd24 (diff)
downloadexternal_mesa3d-5f80218884c0a86068d1be21920bfb191ac31349.zip
external_mesa3d-5f80218884c0a86068d1be21920bfb191ac31349.tar.gz
external_mesa3d-5f80218884c0a86068d1be21920bfb191ac31349.tar.bz2
mesa: remove ctx->Driver.ClearDepth(), ClearStencil() driver hooks
Not used by any drivers. Drivers can easily access the values from the Mesa context at glClear() time. Reviewed-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src/mesa/main/stencil.c')
-rw-r--r--src/mesa/main/stencil.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/main/stencil.c b/src/mesa/main/stencil.c
index b6993ff..f47b57b 100644
--- a/src/mesa/main/stencil.c
+++ b/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 );
- }
}