heliclei/cocos2d-x — pull request #270 by cocosQA (2014-04-28 03:14:02+00:00)
Title: Better handling of 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 non-standard call conversion. Typecast (GLInfoFunction) is invalid.