mesa: Make target_enum_to_index available outside texobj.c
authorIan Romanick <ian.d.romanick@intel.com>
Fri, 22 Nov 2013 19:35:30 +0000 (11:35 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Sun, 2 Feb 2014 15:49:08 +0000 (16:49 +0100)
commit35e7027dab14b059344d7b93404c76d451ea2baf
tree3ecf09694ad98ba93c7f3d6776a674f18afbf3bf
parent9451281aca86c9ee7cc5db6e964ef0414fb5a368
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 <ian.d.romanick@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/main/texobj.c
src/mesa/main/texobj.h