diff options
author | Samuel Pitoiset <[email protected]> | 2017-06-06 21:58:26 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2017-06-07 09:09:11 +0200 |
commit | e8de0e124f80b117cf52df81a91fac63bda6fcca (patch) | |
tree | 7c8fc51c9f6228f2b7d2c8a1caa9359d022776c2 /src/mesa | |
parent | ee38dfe9a5525375012d1c6681e7c39c15ac3049 (diff) |
mesa: use _mesa_set_scissor() in ScissorIndexed()
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/main/scissor.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mesa/main/scissor.c b/src/mesa/main/scissor.c index 13934f9ca20..0dd956c9e3d 100644 --- a/src/mesa/main/scissor.c +++ b/src/mesa/main/scissor.c @@ -192,10 +192,7 @@ ScissorIndexed(GLuint index, GLint left, GLint bottom, return; } - set_scissor_no_notify(ctx, index, left, bottom, width, height); - - if (ctx->Driver.Scissor) - ctx->Driver.Scissor(ctx); + _mesa_set_scissor(ctx, index, left, bottom, width, height); } void GLAPIENTRY |