Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
<glx rop="100"/>
</function>
- <function name="PolygonMode">
+ <function name="PolygonMode" no_error="true">
<param name="face" type="GLenum"/>
<param name="mode" type="GLenum"/>
<glx rop="101"/>
}
+void GLAPIENTRY
+_mesa_PolygonMode_no_error(GLenum face, GLenum mode)
+{
+ GET_CURRENT_CONTEXT(ctx);
+ polygon_mode(ctx, face, mode, true);
+}
+
+
void GLAPIENTRY
_mesa_PolygonMode(GLenum face, GLenum mode)
{
extern void GLAPIENTRY
_mesa_FrontFace(GLenum mode);
+void GLAPIENTRY
+_mesa_PolygonMode_no_error(GLenum face, GLenum mode);
+
extern void GLAPIENTRY
_mesa_PolygonMode( GLenum face, GLenum mode );