mesa: simplify Driver.TexSubImage() parameters
authorBrian Paul <brianp@vmware.com>
Fri, 30 Dec 2011 15:24:55 +0000 (08:24 -0700)
committerBrian Paul <brianp@vmware.com>
Fri, 30 Dec 2011 15:24:55 +0000 (08:24 -0700)
commitda0cc82a093eb97212e989648da638a262ed3e84
treed3271c7872ac0f6e5e882859d561584f80a4393c
parentc22a95c4f2db64c61cb25f37acc38254f30850f1
mesa: simplify Driver.TexSubImage() parameters

There's no need to pass the target, level and texObj parameters since
they can be easily obtained from the texImage pointer.

Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/common/meta.c
src/mesa/drivers/dri/intel/intel_tex_subimage.c
src/mesa/drivers/dri/nouveau/nouveau_texture.c
src/mesa/main/dd.h
src/mesa/main/mipmap.c
src/mesa/main/teximage.c
src/mesa/main/texstore.c
src/mesa/main/texstore.h