Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
<param name="buffer" type="GLuint"/>
</function>
- <function name="PrimitiveRestartIndex">
+ <function name="PrimitiveRestartIndex" no_error="true">
<param name="index" type="GLuint"/>
</function>
* 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);
extern void GLAPIENTRY
_mesa_DrawTransformFeedback(GLenum mode, GLuint name);
+void GLAPIENTRY
+_mesa_PrimitiveRestartIndex_no_error(GLuint index);
+
extern void GLAPIENTRY
_mesa_PrimitiveRestartIndex(GLuint index);