mesa: add KHR_no_error support to glDeleteSamplers()
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
<param name="samplers" type="GLuint *"/>
|
||||
</function>
|
||||
|
||||
<function name="DeleteSamplers" es2="3.0">
|
||||
<function name="DeleteSamplers" es2="3.0" no_error="true">
|
||||
<param name="count" type="GLsizei"/>
|
||||
<param name="samplers" type="const GLuint *"/>
|
||||
</function>
|
||||
|
||||
@@ -265,6 +265,14 @@ delete_samplers(struct gl_context *ctx, GLsizei count, const GLuint *samplers)
|
||||
}
|
||||
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_DeleteSamplers_no_error(GLsizei count, const GLuint *samplers)
|
||||
{
|
||||
GET_CURRENT_CONTEXT(ctx);
|
||||
delete_samplers(ctx, count, samplers);
|
||||
}
|
||||
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_DeleteSamplers(GLsizei count, const GLuint *samplers)
|
||||
{
|
||||
|
||||
@@ -106,8 +106,13 @@ _mesa_CreateSamplers_no_error(GLsizei count, GLuint *samplers);
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_CreateSamplers(GLsizei count, GLuint *samplers);
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_DeleteSamplers_no_error(GLsizei count, const GLuint *samplers);
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_DeleteSamplers(GLsizei count, const GLuint *samplers);
|
||||
|
||||
GLboolean GLAPIENTRY
|
||||
_mesa_IsSampler(GLuint sampler);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user