Hacker News new | ask | show | jobs
by jeremiep 3452 days ago
You won't see it in the code. Run it through the debugger; the value of "channel" is sometimes the value of the GL enum rather than the index of the texture unit.

It could've been fixed since as well.