mesa: Store the target index in gl_texture_object
authorFredrik Höglund <fredrik@kde.org>
Tue, 12 Nov 2013 16:23:05 +0000 (17:23 +0100)
committerFredrik Höglund <fredrik@kde.org>
Fri, 2 May 2014 00:53:25 +0000 (02:53 +0200)
commit6bf8ac846aeb8b6e53b4a3545ee5f8ce94055ae7
tree51701d8ae560c64d7a091dfd2caae85605ea7ba6
parentd55e5a323b81af1020104df1ccc1ddfe31b78b83
mesa: Store the target index in gl_texture_object

This will be used by glBindTextures() so we don't have to look it up
for each texture.

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