mesa: Change redundant code into loops in texstate.c.
authorPaul Berry <stereotype441@gmail.com>
Thu, 9 Jan 2014 19:34:33 +0000 (11:34 -0800)
committerPaul Berry <stereotype441@gmail.com>
Wed, 22 Jan 2014 04:25:52 +0000 (20:25 -0800)
commit1032c33cb93f1e8839be0f743b81492c2ca87e39
treed2e8945be0e9dff6effa46091cc014dc78fec034
parent6ac2e1e199ff02ad720495a64c0755fcae981671
mesa: Change redundant code into loops in texstate.c.

This is possible now that ctx->Shader.CurrentProgram is an array.

Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/main/texstate.c