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

Function assertWebGL2Context

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

Source from the content-addressed store, hash-verified

2971}
2972
2973function assertWebGL2Context(gl) {
2974 // Need to handle debug context
2975 (0, _assert.default)(isWebGL2(gl), ERR_WEBGL2);
2976}
2977},{"./webgl-types":"bFVP","../utils/assert":"iVaU"}],"bk0i":[function(require,module,exports) {
2978"use strict";
2979

Callers

nothing calls this directly

Calls 1

isWebGL2Function · 0.70

Tested by

no test coverage detected