summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/depth.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/depth.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/depth.c')
-rw-r--r--src/mesa/main/depth.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/main/depth.c b/src/mesa/main/depth.c
index 52c69a6..bb16254 100644
--- a/src/mesa/main/depth.c
+++ b/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 );
}