mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-04-14 08:27:50 +00:00
Add bufferData
and clearBuffer
to immutable slice whitelist
This commit is contained in:
parent
358ee18ab2
commit
15e5162275
@ -189,6 +189,7 @@ fn immutable_slice_whitelist() -> BTreeSet<&'static str> {
|
|||||||
"vertexAttrib3fv",
|
"vertexAttrib3fv",
|
||||||
"vertexAttrib4fv",
|
"vertexAttrib4fv",
|
||||||
"bufferData",
|
"bufferData",
|
||||||
|
"bufferSubData",
|
||||||
"texImage2D",
|
"texImage2D",
|
||||||
"texSubImage2D",
|
"texSubImage2D",
|
||||||
"compressedTexImage2D",
|
"compressedTexImage2D",
|
||||||
@ -196,6 +197,9 @@ fn immutable_slice_whitelist() -> BTreeSet<&'static str> {
|
|||||||
"texImage3D",
|
"texImage3D",
|
||||||
"texSubImage3D",
|
"texSubImage3D",
|
||||||
"compressedTexImage3D",
|
"compressedTexImage3D",
|
||||||
|
"clearBufferfv",
|
||||||
|
"clearBufferiv",
|
||||||
|
"clearBufferuiv",
|
||||||
// TODO: Add another type's functions here. Leave a comment header with the type name
|
// TODO: Add another type's functions here. Leave a comment header with the type name
|
||||||
])
|
])
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user