mesa: add KHR_no_error support for glBlendEquationSeparateiARB()
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
This commit is contained in:
parent
9aff3c605b
commit
25591adc28
|
@ -13,7 +13,7 @@
|
|||
<param name="mode" type="GLenum"/>
|
||||
</function>
|
||||
|
||||
<function name="BlendEquationSeparateiARB">
|
||||
<function name="BlendEquationSeparateiARB" no_error="true">
|
||||
<param name="buf" type="GLuint"/>
|
||||
<param name="modeRGB" type="GLenum"/>
|
||||
<param name="modeA" type="GLenum"/>
|
||||
|
|
|
@ -615,6 +615,15 @@ blend_equation_separatei(struct gl_context *ctx, GLuint buf, GLenum modeRGB,
|
|||
}
|
||||
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_BlendEquationSeparateiARB_no_error(GLuint buf, GLenum modeRGB,
|
||||
GLenum modeA)
|
||||
{
|
||||
GET_CURRENT_CONTEXT(ctx);
|
||||
blend_equation_separatei(ctx, buf, modeRGB, modeA);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Set separate blend equations for one color buffer/target.
|
||||
*/
|
||||
|
|
|
@ -76,6 +76,9 @@ extern void GLAPIENTRY
|
|||
_mesa_BlendEquationSeparate( GLenum modeRGB, GLenum modeA );
|
||||
|
||||
|
||||
extern void GLAPIENTRY
|
||||
_mesa_BlendEquationSeparateiARB_no_error(GLuint buf, GLenum modeRGB,
|
||||
GLenum modeA);
|
||||
extern void GLAPIENTRY
|
||||
_mesa_BlendEquationSeparateiARB(GLuint buf, GLenum modeRGB, GLenum modeA);
|
||||
|
||||
|
|
Loading…
Reference in New Issue