aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/viewport.c
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2017-07-17 21:54:54 +0200
committerSamuel Pitoiset <[email protected]>2017-07-31 13:53:39 +0200
commite4b170e4f061784380505f173eb247af3269d26c (patch)
treee95f068b0a9c5ebe4d6af15ebb18411272f4a8c3 /src/mesa/main/viewport.c
parent999f2de9a860ff932899cf9982715d3bdd3d0ecf (diff)
mesa: add KHR_no_error support to glDepthRangeArrayv
Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/mesa/main/viewport.c')
-rw-r--r--src/mesa/main/viewport.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/mesa/main/viewport.c b/src/mesa/main/viewport.c
index e1ab03dec39..90c92eadbf6 100644
--- a/src/mesa/main/viewport.c
+++ b/src/mesa/main/viewport.c
@@ -371,6 +371,16 @@ depth_range_arrayv(struct gl_context *ctx, GLuint first, GLsizei count,
}
void GLAPIENTRY
+_mesa_DepthRangeArrayv_no_error(GLuint first, GLsizei count, const GLclampd *v)
+{
+ GET_CURRENT_CONTEXT(ctx);
+
+ const struct gl_depthrange_inputs *const p =
+ (struct gl_depthrange_inputs *)v;
+ depth_range_arrayv(ctx, first, count, p);
+}
+
+void GLAPIENTRY
_mesa_DepthRangeArrayv(GLuint first, GLsizei count, const GLclampd *v)
{
const struct gl_depthrange_inputs *const p =