kripken/emscripten — pull request #1780 by juj (2013-11-10 15:11:32+00:00)
Title: throw() less in GLES2 usage.

Make GL library more spec conformant by not throwing exceptions on errors, but instead reporting them via glGetError() as the GLES2 spec says. Use the linker flag "-s GL_ASSERTIONS=1" to enable additional debug-time error logging from the GL layer for error reasons.