MCPcopy Create free account
hub / github.com/microsoft/SandDance / assertWebGLContext

Function assertWebGLContext

docs/tests/v2/es6/js/sanddance.js:2968–2971  ·  view source on GitHub ↗
(gl)

Source from the content-addressed store, hash-verified

2966}
2967
2968function assertWebGLContext(gl) {
2969 // Need to handle debug context
2970 (0, _assert.default)(isWebGL(gl), ERR_CONTEXT);
2971}
2972
2973function assertWebGL2Context(gl) {
2974 // Need to handle debug context

Callers

nothing calls this directly

Calls 1

isWebGLFunction · 0.70

Tested by

no test coverage detected