mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-06-23 17:51:33 +00:00
Whitelist WebGlRenderingContext float slices
This commit is contained in:
@ -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');
|
||||
}
|
||||
|
Reference in New Issue
Block a user