closed #2346: use shader program to set uniform
Merge pull request #3062 from minggo/iss2346-opengl-error

Fixed a bug in CCTMXLayer when set uniform