mesa: Add a texUnit parameter to dd_function_table::BindTexture
authorFredrik Höglund <fredrik@kde.org>
Thu, 23 Jan 2014 13:02:24 +0000 (14:02 +0100)
committerFredrik Höglund <fredrik@kde.org>
Fri, 2 May 2014 00:53:25 +0000 (02:53 +0200)
commit659d94b256fd6bcf19c8cdf261e2c0bb26e0faf2
tree7ec8b1fddaa58d6e1e99aecdbcd4443684d0923f
parentb8ee235e721ffd2503f4e8114d38685d58a0ceae
mesa: Add a texUnit parameter to dd_function_table::BindTexture

This is for glBindTextures(), since it doesn't change the active
texture unit.

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