use program before setting uniform
Merge pull request #4557 from minggo/clippingnode-master

use program before setting uniform