summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/varray.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main/varray.c')
-rw-r--r--src/mesa/main/varray.c8
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);