diff options
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/main/bufferobj.c | 8 | ||||
-rw-r--r-- | src/mesa/main/bufferobj.h | 3 |
2 files changed, 11 insertions, 0 deletions
diff --git a/src/mesa/main/bufferobj.c b/src/mesa/main/bufferobj.c index ff1357df341..b46b81271a1 100644 --- a/src/mesa/main/bufferobj.c +++ b/src/mesa/main/bufferobj.c @@ -1613,6 +1613,14 @@ delete_buffers(struct gl_context *ctx, GLsizei n, const GLuint *ids) void GLAPIENTRY +_mesa_DeleteBuffers_no_error(GLsizei n, const GLuint *ids) +{ + GET_CURRENT_CONTEXT(ctx); + delete_buffers(ctx, n, ids); +} + + +void GLAPIENTRY _mesa_DeleteBuffers(GLsizei n, const GLuint *ids) { GET_CURRENT_CONTEXT(ctx); diff --git a/src/mesa/main/bufferobj.h b/src/mesa/main/bufferobj.h index 662ceba8a6c..69e85498186 100644 --- a/src/mesa/main/bufferobj.h +++ b/src/mesa/main/bufferobj.h @@ -162,6 +162,9 @@ void GLAPIENTRY _mesa_BindBuffer(GLenum target, GLuint buffer); void GLAPIENTRY +_mesa_DeleteBuffers_no_error(GLsizei n, const GLuint * buffer); + +void GLAPIENTRY _mesa_DeleteBuffers(GLsizei n, const GLuint * buffer); void GLAPIENTRY |