summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/teximage.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-10-31 08:07:23 -0600
committerBrian Paul <[email protected]>2009-11-02 19:38:35 -0700
commitb8fdb900fb9b1c8b1e9ec88509624237307a869a (patch)
tree181c78e56fd326a4d8937f23e19304a94daccd11 /src/mesa/main/teximage.h
parent731810f8546174e45c717b0a9aa289a26593dfa0 (diff)
mesa: make _mesa_get_current_tex_objec() public
Diffstat (limited to 'src/mesa/main/teximage.h')
-rw-r--r--src/mesa/main/teximage.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/main/teximage.h b/src/mesa/main/teximage.h
index 094177da79d..97c90183190 100644
--- a/src/mesa/main/teximage.h
+++ b/src/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,