Check that the value passed to glActiveTexture doesn't bypass the limits
Merge pull request #124 from tomaka/check-active-texture

Check that the value passed to glActiveTexture doesn't bypass the limits