Fix the signature of WebGLRenderingContext::BufferSubData

This commit is contained in:
Anthony Ramine 2018-04-04 13:03:28 +02:00
parent 3c56d2f5a7
commit bb2b6a7a41
3 changed files with 5 additions and 7 deletions

View file

@ -241,7 +241,7 @@ impl WebGL2RenderingContextMethods for WebGL2RenderingContext {
}
/// https://www.khronos.org/registry/webgl/specs/latest/1.0/#5.14.5
fn BufferSubData(&self, target: u32, offset: i64, data: Option<ArrayBufferViewOrArrayBuffer>) {
fn BufferSubData(&self, target: u32, offset: i64, data: ArrayBufferViewOrArrayBuffer) {
self.base.BufferSubData(target, offset, data)
}