[Mesa-dev] [PATCH 2/5] mesa: use _mesa_set_scissor() in ScissorIndexed()
Samuel Pitoiset
samuel.pitoiset at gmail.com
Tue Jun 6 19:58:26 UTC 2017
Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
---
src/mesa/main/scissor.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/src/mesa/main/scissor.c b/src/mesa/main/scissor.c
index 13934f9ca2..0dd956c9e3 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
--
2.13.0
More information about the mesa-dev
mailing list