NOTE: I changed the ordering of state setting in this function because OpenGL is going to store texture filtering etc along with the texture object itself so if the texture got set *after* the sampler states, it would ice the sampler states it just set. If this causes problems, talk to patw
source not stored for this graph (policy: none)
no test coverage detected