From 128822c59f94ce048ca58c389c56d097ae27473b Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Thu, 22 Jun 2017 15:24:04 +0200 Subject: mesa: add KHR_no_error support for glViewportArrayv() Signed-off-by: Samuel Pitoiset Reviewed-by: Timothy Arceri --- src/mesa/main/viewport.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/mesa/main/viewport.c') diff --git a/src/mesa/main/viewport.c b/src/mesa/main/viewport.c index 3265f3f59d2..af453fd259e 100644 --- a/src/mesa/main/viewport.c +++ b/src/mesa/main/viewport.c @@ -168,6 +168,15 @@ viewport_array(struct gl_context *ctx, GLuint first, GLsizei count, ctx->Driver.Viewport(ctx); } +void GLAPIENTRY +_mesa_ViewportArrayv_no_error(GLuint first, GLsizei count, const GLfloat *v) +{ + GET_CURRENT_CONTEXT(ctx); + + const struct gl_viewport_inputs *const p = (struct gl_viewport_inputs *)v; + viewport_array(ctx, first, count, p); +} + void GLAPIENTRY _mesa_ViewportArrayv(GLuint first, GLsizei count, const GLfloat *v) { -- cgit v1.2.3