diff options
author | Ian Romanick <[email protected]> | 2013-11-05 14:16:05 -0800 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2014-01-15 10:02:48 -0800 |
commit | 6dbab6b2bb29e3b0595762920ef17e2ae5a9bf3a (patch) | |
tree | 473a3582fa47487fd0c1a030e9ff619a8774deea /src/mesa/main | |
parent | 065bd6ffc23c9cfef9b10418fb06233a912d6471 (diff) |
mesa: Eliminate parameters to dd_function_table::DepthRange
No driver uses them. They will just be annoying in future patches.
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/main')
-rw-r--r-- | src/mesa/main/dd.h | 2 | ||||
-rw-r--r-- | src/mesa/main/viewport.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/dd.h b/src/mesa/main/dd.h index e77b67ed7d7..e1e6e144340 100644 --- a/src/mesa/main/dd.h +++ b/src/mesa/main/dd.h @@ -485,7 +485,7 @@ struct dd_function_table { /** Enable or disable writing into the depth buffer */ void (*DepthMask)(struct gl_context *ctx, GLboolean flag); /** Specify mapping of depth values from NDC to window coordinates */ - void (*DepthRange)(struct gl_context *ctx, GLclampd nearval, GLclampd farval); + void (*DepthRange)(struct gl_context *ctx); /** Specify the current buffer for writing */ void (*DrawBuffer)( struct gl_context *ctx, GLenum buffer ); /** Specify the buffers for writing for fragment programs*/ diff --git a/src/mesa/main/viewport.c b/src/mesa/main/viewport.c index 7ea1d5f63a5..3aaab2d4659 100644 --- a/src/mesa/main/viewport.c +++ b/src/mesa/main/viewport.c @@ -143,7 +143,7 @@ _mesa_DepthRange(GLclampd nearval, GLclampd farval) #endif if (ctx->Driver.DepthRange) { - ctx->Driver.DepthRange(ctx, nearval, farval); + ctx->Driver.DepthRange(ctx); } } |