gl-catch-context

Retrieve any newly created WebGL contexts as they're being created. Useful for instrumentation.

gl-catch-context

Retrieve any newly created WebGL contexts as they're being created. Useful for instrumentation.

Calls callback(context) when a new context is created. Make sure you require this file before the rest of your code, or you won't catch it!

MIT. See LICENSE.md for details.