diff options
author | Samuel Pitoiset <[email protected]> | 2017-07-18 20:48:40 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2017-07-31 13:53:39 +0200 |
commit | ef0b0389818f9dd99e55e44e52dc7e4446e37c79 (patch) | |
tree | c15f0bd53b40baa973e1cb0e5e9382a010439afb /src/mesa/main/samplerobj.c | |
parent | 3339b53755b520635c67f5a3ff90628023226334 (diff) |
mesa: add KHR_no_error support to glDeleteSamplers()
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/mesa/main/samplerobj.c')
-rw-r--r-- | src/mesa/main/samplerobj.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mesa/main/samplerobj.c b/src/mesa/main/samplerobj.c index 4cb4914731b..2ecb01777b3 100644 --- a/src/mesa/main/samplerobj.c +++ b/src/mesa/main/samplerobj.c @@ -266,6 +266,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) { GET_CURRENT_CONTEXT(ctx); |