Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
<param name="texture" type="GLuint" />
</function>
- <function name="BindTextureUnit">
+ <function name="BindTextureUnit" no_error="true">
<param name="unit" type="GLuint" />
<param name="texture" type="GLuint" />
</function>
}
+void GLAPIENTRY
+_mesa_BindTextureUnit_no_error(GLuint unit, GLuint texture)
+{
+ GET_CURRENT_CONTEXT(ctx);
+ bind_texture_unit(ctx, unit, texture, true);
+}
+
+
void GLAPIENTRY
_mesa_BindTextureUnit(GLuint unit, GLuint texture)
{
extern void GLAPIENTRY
_mesa_BindTexture( GLenum target, GLuint texture );
+void GLAPIENTRY
+_mesa_BindTextureUnit_no_error(GLuint unit, GLuint texture);
+
extern void GLAPIENTRY
_mesa_BindTextureUnit(GLuint unit, GLuint texture);