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/stencil.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/stencil.c')
-rw-r--r-- | src/mesa/main/stencil.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/main/stencil.c b/src/mesa/main/stencil.c index b6993ff129b..f47b57b8df1 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 ); - } } |