diff options
author | Brian Paul <[email protected]> | 2012-03-11 18:31:32 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2012-03-12 11:40:43 -0600 |
commit | 5f80218884c0a86068d1be21920bfb191ac31349 (patch) | |
tree | 2b36e5eb3091391a936ebb77dd6232add382075d /src/mesa/main/depth.c | |
parent | e0ed951e1361e54ffd8e9c56fbcc2027c0c4bd24 (diff) |
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 <[email protected]>
Diffstat (limited to 'src/mesa/main/depth.c')
-rw-r--r-- | src/mesa/main/depth.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/main/depth.c b/src/mesa/main/depth.c index 52c69a6bcd9..bb1625440eb 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 ); } |