Whitelist WebGlRenderingContext float slices

This commit is contained in:
Chinedu Francis Nwafili
2019-01-26 12:10:08 -05:00
parent 048a22bc77
commit 2e6880c43c
4 changed files with 58 additions and 35 deletions

View File

@ -152,9 +152,6 @@ export function new_title() {
}
export function new_webgl_rendering_context() {
const foo = document.createElement('canvas');
console.log('Does get context work? ' + foo.getContext('webgl'));
const canvas = document.createElement('canvas');
return canvas.getContext('webgl');
}