mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Implement WebGLContext resize, r=emilio
This commit is contained in:
parent
b3cdcfaa39
commit
8ba75c0545
3 changed files with 34 additions and 10 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue