mesa: use _mesa_set_scissor() in ScissorIndexed()
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 6 Jun 2017 19:58:26 +0000 (21:58 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 7 Jun 2017 07:09:11 +0000 (09:09 +0200)
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
src/mesa/main/scissor.c

index 13934f9ca205f6d8ce0ea2ae3b187a0bff022074..0dd956c9e3d765f55bc424bd5c8f8be3b3fd0182 100644 (file)
@@ -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