diff options
Diffstat (limited to 'components/canvas/webgl_paint_task.rs')
-rw-r--r-- | components/canvas/webgl_paint_task.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/components/canvas/webgl_paint_task.rs b/components/canvas/webgl_paint_task.rs index 28fabacf72e..f6c5553b424 100644 --- a/components/canvas/webgl_paint_task.rs +++ b/components/canvas/webgl_paint_task.rs @@ -72,6 +72,8 @@ impl WebGLPaintTask { gl::attach_shader(program_id, shader_id), CanvasWebGLMsg::BufferData(buffer_type, data, usage) => gl::buffer_data(buffer_type, &data, usage), + CanvasWebGLMsg::BufferSubData(buffer_type, offset, data) => + gl::buffer_sub_data(buffer_type, offset, &data), CanvasWebGLMsg::Clear(mask) => gl::clear(mask), CanvasWebGLMsg::ClearColor(r, g, b, a) => |