summaryrefslogtreecommitdiff
path: root/mesa/main/teximage.h
diff options
context:
space:
mode:
Diffstat (limited to 'mesa/main/teximage.h')
-rw-r--r--mesa/main/teximage.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/mesa/main/teximage.h b/mesa/main/teximage.h
index 094177d..97c9018 100644
--- a/mesa/main/teximage.h
+++ b/mesa/main/teximage.h
@@ -86,6 +86,9 @@ extern struct gl_texture_object *
_mesa_select_tex_object(GLcontext *ctx, const struct gl_texture_unit *texUnit,
GLenum target);
+extern struct gl_texture_object *
+_mesa_get_current_tex_object(GLcontext *ctx, GLenum target);
+
extern struct gl_texture_image *
_mesa_select_tex_image(GLcontext *ctx, const struct gl_texture_object *texObj,