diff options
author | Ian Romanick <[email protected]> | 2013-11-22 11:35:30 -0800 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2014-02-02 16:49:08 +0100 |
commit | 35e7027dab14b059344d7b93404c76d451ea2baf (patch) | |
tree | 3ecf09694ad98ba93c7f3d6776a674f18afbf3bf /src/mesa/main/texobj.h | |
parent | 9451281aca86c9ee7cc5db6e964ef0414fb5a368 (diff) |
mesa: Make target_enum_to_index available outside texobj.c
The next patch will use this function in another file.
v2: Rename _mesa_target_enum_to_index to _mesa_tex_target_to_index.
Suggested by Brian.
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/main/texobj.h')
-rw-r--r-- | src/mesa/main/texobj.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/main/texobj.h b/src/mesa/main/texobj.h index 55091a642b5..a4573b399e3 100644 --- a/src/mesa/main/texobj.h +++ b/src/mesa/main/texobj.h @@ -54,6 +54,9 @@ _mesa_initialize_texture_object( struct gl_context *ctx, struct gl_texture_object *obj, GLuint name, GLenum target ); +extern int +_mesa_tex_target_to_index(const struct gl_context *ctx, GLenum target); + extern void _mesa_delete_texture_object( struct gl_context *ctx, struct gl_texture_object *obj ); |