cocos2d/cocos2d-x — pull request #5269 by AIGRIND-LLC (2014-01-28 10:59:21+00:00)
Title: Better handling of an invalid shaders.

If shader is invalid the programm will be crashed.
The better way is to rise an assert and write message to the error log.
Platform: Windows
Explain: Functions in glew32.dll have unstandart call conversion. Typecast (GLInfoFunction) is invalid.