Implement WebGLContext resize, r=emilio

This commit is contained in:
Imanol Fernandez 2016-12-01 00:39:32 +01:00
parent b3cdcfaa39
commit 8ba75c0545
3 changed files with 34 additions and 10 deletions

View file

@ -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);
}
}