Adding missing uniformMatrix bindings rules for non-square matrices. (#1957)

Fixes https://github.com/rustwasm/wasm-bindgen/issues/1956
This commit is contained in:
Wojciech Daniło 2020-01-15 20:08:19 +01:00 committed by Alex Crichton
parent 762bd0dabd
commit 450c477197

View File

@ -196,6 +196,12 @@ fn immutable_slice_whitelist() -> BTreeSet<&'static str> {
"uniformMatrix2fv",
"uniformMatrix3fv",
"uniformMatrix4fv",
"uniformMatrix2x3fv",
"uniformMatrix2x4fv",
"uniformMatrix3x2fv",
"uniformMatrix3x4fv",
"uniformMatrix4x2fv",
"uniformMatrix4x3fv",
"vertexAttrib1fv",
"vertexAttrib2fv",
"vertexAttrib3fv",