Issue #6791: Allow more array types in bufferData and bufferSubData.

This commit is contained in:
Simon Martin 2015-12-04 23:23:17 +01:00
parent 2cfcc26d9e
commit fa555d0e2e
4 changed files with 55 additions and 9 deletions

View file

@ -127,8 +127,8 @@ pub enum CanvasWebGLMsg {
BlendFunc(u32, u32),
BlendFuncSeparate(u32, u32, u32, u32),
AttachShader(u32, u32),
BufferData(u32, Vec<f32>, u32),
BufferSubData(u32, isize, Vec<f32>),
BufferData(u32, Vec<u8>, u32),
BufferSubData(u32, isize, Vec<u8>),
Clear(u32),
ClearColor(f32, f32, f32, f32),
ClearDepth(f64),