mesa: simplify Driver.TexImage() 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)
commit92c64624cd7533cde466dbec8722f7f72f275fd8
treecac6f3e610b12f407a088f81c5c10896b1343458
parentda0cc82a093eb97212e989648da638a262ed3e84
mesa: simplify Driver.TexImage() parameters

As with TexSubImage(), the target, level and texObj values can be obtained
through the texImage pointer.

Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/intel/intel_tex_image.c
src/mesa/drivers/dri/nouveau/nouveau_texture.c
src/mesa/drivers/dri/radeon/radeon_texture.c
src/mesa/drivers/dri/radeon/radeon_texture.h
src/mesa/main/dd.h
src/mesa/main/teximage.c
src/mesa/main/texobj.c
src/mesa/main/texstore.c
src/mesa/main/texstore.h
src/mesa/state_tracker/st_cb_texture.c