summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/texobj.c8
-rw-r--r--src/mesa/main/texobj.h3
2 files changed, 11 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);
diff --git a/src/mesa/main/texobj.h b/src/mesa/main/texobj.h
index 6443a567051..71cc8ffba2e 100644
--- a/src/mesa/main/texobj.h
+++ b/src/mesa/main/texobj.h
@@ -189,6 +189,9 @@ _mesa_CreateTextures_no_error(GLenum target, GLsizei n, GLuint *textures);
extern void GLAPIENTRY
_mesa_CreateTextures(GLenum target, GLsizei n, GLuint *textures);
+void GLAPIENTRY
+_mesa_DeleteTextures_no_error(GLsizei n, const GLuint *textures);
+
extern void GLAPIENTRY
_mesa_DeleteTextures( GLsizei n, const GLuint *textures );