Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
<param name="count" type="GLsizei"/>
<param name="v" type="const GLclampd *" count="count" count_scale="2"/>
</function>
- <function name="DepthRangeIndexed">
+ <function name="DepthRangeIndexed" no_error="true">
<param name="index" type="GLuint"/>
<param name="n" type="GLclampd"/>
<param name="f" type="GLclampd"/>
* \param farval specifies the Z buffer value which should correspond to
* the far clip plane
*/
+void GLAPIENTRY
+_mesa_DepthRangeIndexed_no_error(GLuint index, GLclampd nearval,
+ GLclampd farval)
+{
+ GET_CURRENT_CONTEXT(ctx);
+ _mesa_set_depth_range(ctx, index, nearval, farval);
+}
+
+
void GLAPIENTRY
_mesa_DepthRangeIndexed(GLuint index, GLclampd nearval, GLclampd farval)
{
extern void GLAPIENTRY
_mesa_DepthRangeArrayfvOES(GLuint first, GLsizei count, const GLfloat * v);
+void GLAPIENTRY
+_mesa_DepthRangeIndexed_no_error(GLuint index, GLclampd n, GLclampd f);
+
extern void GLAPIENTRY
_mesa_DepthRangeIndexed(GLuint index, GLclampd n, GLclampd f);