mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 13:58:04 +02:00
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:
parent
3339b53755
commit
ef0b038981
3 changed files with 14 additions and 1 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue