diff options
author | Samuel Pitoiset <[email protected]> | 2017-07-19 11:57:22 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2017-07-31 13:53:39 +0200 |
commit | ad427f54aa8881e206bbe504c2fa20a6f95c3dc8 (patch) | |
tree | a080c8793b0471e783a83fc221c1bc6fdb0e9eff /src/mesa/main/texobj.c | |
parent | 488af1292ac4834fbd372ef45c87cb7fbc2b381c (diff) |
mesa: add KHR_no_error support to glDeleteTextures()
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/mesa/main/texobj.c')
-rw-r--r-- | src/mesa/main/texobj.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mesa/main/texobj.c b/src/mesa/main/texobj.c index 494ea25f803..b703da01bef 100644 --- a/src/mesa/main/texobj.c +++ b/src/mesa/main/texobj.c @@ -1505,6 +1505,14 @@ delete_textures(struct gl_context *ctx, GLsizei n, const GLuint *textures) void GLAPIENTRY +_mesa_DeleteTextures_no_error(GLsizei n, const GLuint *textures) +{ + GET_CURRENT_CONTEXT(ctx); + delete_textures(ctx, n, textures); +} + + +void GLAPIENTRY _mesa_DeleteTextures(GLsizei n, const GLuint *textures) { GET_CURRENT_CONTEXT(ctx); |