Merge pull request #1508 from RSSchermer/master

Add `bufferSubData` and `clearBuffer[fiuv]` to immutable slice whitelist
This commit is contained in:
Alex Crichton 2019-05-08 07:14:27 -07:00 committed by GitHub
commit d139228a34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -189,6 +189,7 @@ fn immutable_slice_whitelist() -> BTreeSet<&'static str> {
"vertexAttrib3fv",
"vertexAttrib4fv",
"bufferData",
"bufferSubData",
"texImage2D",
"texSubImage2D",
"compressedTexImage2D",
@ -196,6 +197,9 @@ fn immutable_slice_whitelist() -> BTreeSet<&'static str> {
"texImage3D",
"texSubImage3D",
"compressedTexImage3D",
"clearBufferfv",
"clearBufferiv",
"clearBufferuiv",
// TODO: Add another type's functions here. Leave a comment header with the type name
])
}