If WebGL context creation fails, return 0 in glutCreateWindow and EGL_NO_CONTEXT in eglCreateContext to allow the user to detect whether WebGL support is enabled in the browser or not.
Merge pull request #1483 from juj/graceful_gl_fail

Graceful gl fail