From: Samuel Pitoiset Date: Tue, 6 Jun 2017 19:58:26 +0000 (+0200) Subject: mesa: use _mesa_set_scissor() in ScissorIndexed() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e8de0e124f80b117cf52df81a91fac63bda6fcca;p=mesa.git mesa: use _mesa_set_scissor() in ScissorIndexed() Signed-off-by: Samuel Pitoiset Reviewed-by: Timothy Arceri --- 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