Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
<enum name="CLIP_ORIGIN" value = "0x935C"/>
<enum name="CLIP_DEPTH_MODE" value = "0x935D"/>
- <function name="ClipControl">
+ <function name="ClipControl" no_error="true">
<param name="origin" type="GLenum"/>
<param name="depth" type="GLenum"/>
<!-- <glx rop="1340"/> -->
}
+void GLAPIENTRY
+_mesa_ClipControl_no_error(GLenum origin, GLenum depth)
+{
+ GET_CURRENT_CONTEXT(ctx);
+ clip_control(ctx, origin, depth);
+}
+
+
void GLAPIENTRY
_mesa_ClipControl(GLenum origin, GLenum depth)
{
_mesa_init_viewport(struct gl_context *ctx);
+void GLAPIENTRY
+_mesa_ClipControl_no_error(GLenum origin, GLenum depth);
+
extern void GLAPIENTRY
_mesa_ClipControl(GLenum origin, GLenum depth);