aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texobj.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main/texobj.h')
-rw-r--r--src/mesa/main/texobj.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/main/texobj.h b/src/mesa/main/texobj.h
index 80e95d1f91a..3ebfa6715db 100644
--- a/src/mesa/main/texobj.h
+++ b/src/mesa/main/texobj.h
@@ -176,6 +176,12 @@ _mesa_delete_nameless_texture(struct gl_context *ctx,
extern void
_mesa_bind_texture(struct gl_context *ctx, GLenum target,
struct gl_texture_object *tex_obj);
+
+extern struct gl_texture_object *
+_mesa_lookup_or_create_texture(struct gl_context *ctx, GLenum target,
+ GLuint texName, bool no_error,
+ const char *name);
+
/*@}*/
/**