mesa: Use common _mesa_tex_target_to_index in tex param code
authorIan Romanick <ian.d.romanick@intel.com>
Sat, 23 Nov 2013 20:16:57 +0000 (12:16 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Sun, 2 Feb 2014 15:49:08 +0000 (16:49 +0100)
commita722454dac284e31564d62e537976070bba1eaf8
tree6af1c45d454bfbb8939a0ba6b6798d6801a83f8e
parent35e7027dab14b059344d7b93404c76d451ea2baf
mesa: Use common _mesa_tex_target_to_index in tex param code

TEXTURE_BUFFER_INDEX has to be specially called out because it is not
allowed in any of the glTexParameter or glGetTexParameter functions.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/main/texparam.c