mesa: use loop in pop_texture_group() to restore 4 combiner terms
authorBrian Paul <brianp@vmware.com>
Sat, 1 Oct 2011 03:03:42 +0000 (21:03 -0600)
committerBrian Paul <brianp@vmware.com>
Sat, 1 Oct 2011 14:15:28 +0000 (08:15 -0600)
commit986a9bb1806174b70b756165ece555856a705dfb
treed1f4c5dad683adce1fe16d261e13dbf3a4c7bba2
parent1f8f8aef7f30156bbd906be36cdda2e05d8b0a7f
mesa: use loop in pop_texture_group() to restore 4 combiner terms

There's four combiner terms (not 3) with GL_NV_texture_env_combine4.
Use a loop to make the code a little more compact.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/main/attrib.c