Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
2968
function
assertWebGLContext(gl) {
2969
// Need to handle debug context
2970
(0, _assert.default)(isWebGL(gl), ERR_CONTEXT);
2971
}
2972
2973
function
assertWebGL2Context(gl) {
2974
// Need to handle debug context
Callers
nothing calls this directly
Calls
1
isWebGL
Function · 0.70
Tested by
no test coverage detected