diff options
author | Samuel Pitoiset <[email protected]> | 2017-07-19 09:40:49 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2017-07-31 13:53:39 +0200 |
commit | 6f6c5a1ad7c952d6411d0a327b6f83f67d7388b0 (patch) | |
tree | c797e27a0f05b5c3e02be6035fbf0275fc4038be /src/mesa/main/varray.c | |
parent | de4e5b4dac51a1b667ce2fe8218d3969b88252bc (diff) |
mesa: add KHR_no_error support to glPrimitiveRestartIndex()
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/mesa/main/varray.c')
-rw-r--r-- | src/mesa/main/varray.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mesa/main/varray.c b/src/mesa/main/varray.c index 6aa4c72bdd1..99347244891 100644 --- a/src/mesa/main/varray.c +++ b/src/mesa/main/varray.c @@ -1937,6 +1937,14 @@ primitive_restart_index(struct gl_context *ctx, GLuint index) * GL_NV_primitive_restart and GL 3.1 */ void GLAPIENTRY +_mesa_PrimitiveRestartIndex_no_error(GLuint index) +{ + GET_CURRENT_CONTEXT(ctx); + primitive_restart_index(ctx, index); +} + + +void GLAPIENTRY _mesa_PrimitiveRestartIndex(GLuint index) { GET_CURRENT_CONTEXT(ctx); |