diff options
author | Ian Romanick <[email protected]> | 2014-01-07 19:06:17 -0800 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2014-01-20 11:31:59 -0800 |
commit | f6d7cd4a11e70b816733cff681dde7d03588d1c8 (patch) | |
tree | 5398605df75ff28ea403d8d462ada9ac2541b583 /src/mesa/main/scissor.c | |
parent | 5232a7ded0c3a302ee0b551436b8f64a298d221c (diff) |
mesa: Add an index parameter to _mesa_set_scissor
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/main/scissor.c')
-rw-r--r-- | src/mesa/main/scissor.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/main/scissor.c b/src/mesa/main/scissor.c index cc4ce69c361..9266f1e9810 100644 --- a/src/mesa/main/scissor.c +++ b/src/mesa/main/scissor.c @@ -70,7 +70,7 @@ _mesa_Scissor( GLint x, GLint y, GLsizei width, GLsizei height ) return; } - _mesa_set_scissor(ctx, x, y, width, height); + _mesa_set_scissor(ctx, 0, x, y, width, height); } @@ -88,10 +88,10 @@ _mesa_Scissor( GLint x, GLint y, GLsizei width, GLsizei height ) * the dd_function_table::Scissor callback. */ void -_mesa_set_scissor(struct gl_context *ctx, +_mesa_set_scissor(struct gl_context *ctx, unsigned idx, GLint x, GLint y, GLsizei width, GLsizei height) { - set_scissor_no_notify(ctx, 0, x, y, width, height); + set_scissor_no_notify(ctx, idx, x, y, width, height); if (ctx->Driver.Scissor) ctx->Driver.Scissor(ctx); |