diff options
author | natrixaeria <janng@gmx.de> | 2019-05-26 20:59:02 +0200 |
---|---|---|
committer | natrixaeria <janng@gmx.de> | 2019-05-26 20:59:02 +0200 |
commit | 5f74e093a4679cdc0fe9fa42822a14fecc7b1cbb (patch) | |
tree | 4137b6523f97e3b8e4ac3ecef3cdc07ae3f16bb9 /WebInterface/wasm/asm-paint/Cargo.toml | |
parent | 9f0f87a772743ce67e37700516cae0ead17cced9 (diff) |
Compile webgl shader program
Diffstat (limited to 'WebInterface/wasm/asm-paint/Cargo.toml')
-rw-r--r-- | WebInterface/wasm/asm-paint/Cargo.toml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/WebInterface/wasm/asm-paint/Cargo.toml b/WebInterface/wasm/asm-paint/Cargo.toml index 269d77d..ceb1866 100644 --- a/WebInterface/wasm/asm-paint/Cargo.toml +++ b/WebInterface/wasm/asm-paint/Cargo.toml @@ -14,16 +14,16 @@ crate-type = ["cdylib"] wasm-bindgen = "0.2" log = "0.4" fern = "0.5" -js-sys = "0.3" [dependencies.web-sys] -version = "0.3" +version = "0.3.22" features = [ 'Document', 'Element', 'HtmlCanvasElement', 'WebGl2RenderingContext', - 'WebGlProgram', 'WebGlShader', + 'WebGlProgram', + 'WebGlBuffer', 'Window' ] |