mesa: remove 'params' parameter from ctx->Driver.TexParameter()
authorBrian Paul <brianp@vmware.com>
Fri, 7 Oct 2016 20:28:21 +0000 (14:28 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 13 Oct 2016 23:38:49 +0000 (17:38 -0600)
commita710c21ac200fc1c80a6209862e837f0a75f4cc5
tree7b00bb81989736169eea549dc1e4b09fae7471f3
parent99d790538de2e7d7d489a8638b13c5aa069c27c3
mesa: remove 'params' parameter from ctx->Driver.TexParameter()

None of the drivers which implement this hook do anything with the
texture parameter value.  Drivers just look at the pname and set a
dirty flag if needed.

We were doing some ugly casting and type conversion to setup the
argument so that all goes away.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/drivers/dri/nouveau/nouveau_state.c
src/mesa/drivers/dri/r200/r200_tex.c
src/mesa/drivers/dri/radeon/radeon_tex.c
src/mesa/main/dd.h
src/mesa/main/teximage.c
src/mesa/main/texobj.c
src/mesa/main/texparam.c
src/mesa/state_tracker/st_cb_texture.c