wonder.js
Version:
15 lines (10 loc) • 307 B
JavaScript
;
function getContext(canvas, contextConfigJsObj) {
return canvas.getContext("webgl", contextConfigJsObj);
}
function createGl(contextConfig, canvas) {
return canvas.getContext("webgl", contextConfig);
}
exports.getContext = getContext;
exports.createGl = createGl;
/* No side effect */