cocos2d/cocos2d-html5 — pull request #884 by ardcore (2013-04-14 12:18:29+00:00)
Title: assertion before gl declaration throws an exception

swapping lines fixes the problem