diff options
author | Imanol Fernandez <mortimergoro@gmail.com> | 2016-12-01 00:39:32 +0100 |
---|---|---|
committer | Imanol Fernandez <mortimergoro@gmail.com> | 2016-12-01 00:56:59 +0100 |
commit | 8ba75c0545f26b7577a70aff71aa619128dc870b (patch) | |
tree | 998b35b85f53481bee1325d6544f60700812bc4b /components/canvas/webgl_paint_thread.rs | |
parent | b3cdcfaa39a7933a9f87a6881f5d58e5afe94086 (diff) | |
download | servo-8ba75c0545f26b7577a70aff71aa619128dc870b.tar.gz servo-8ba75c0545f26b7577a70aff71aa619128dc870b.zip |
Implement WebGLContext resize, r=emilio
Diffstat (limited to 'components/canvas/webgl_paint_thread.rs')
-rw-r--r-- | components/canvas/webgl_paint_thread.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/canvas/webgl_paint_thread.rs b/components/canvas/webgl_paint_thread.rs index 13a69718f2d..8a080aa639a 100644 --- a/components/canvas/webgl_paint_thread.rs +++ b/components/canvas/webgl_paint_thread.rs @@ -251,8 +251,8 @@ impl WebGLPaintThread { unsafe { gl::Scissor(0, 0, size.width, size.height); } } } - WebGLPaintTaskData::WebRender(_, _) => { - // TODO + WebGLPaintTaskData::WebRender(ref api, id) => { + api.resize_webgl_context(id, &size); } } |