Cleanup: Make uniforms for RTT samplers like all other uniforms.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 13 Sep 2015 18:40:58 +0000 (20:40 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 13 Sep 2015 18:40:58 +0000 (20:40 +0200)
commitddbe6136a25fddc14c7b70c9d76857313b8f9957
treecb27d562f51ac7e3927e053901dbef360ce0154b
parentc6c3847558f3724f2b8973aa503de0e6c3de5816
Cleanup: Make uniforms for RTT samplers like all other uniforms.

This also removes an ugly special-casing where one single place
in the entire code would call glUniform1i directly.
effect_chain.cpp
effect_chain.h