mirror of
https://github.com/servo/servo.git
synced 2025-07-22 14:53:49 +01:00
Update surfman to use Git version
This commit is contained in:
parent
51bf8fcfe3
commit
2436bd195a
4 changed files with 16 additions and 10 deletions
|
@ -588,6 +588,10 @@ impl WebGLThread {
|
|||
swap_chain
|
||||
.resize(&mut self.device, &mut data.ctx, size.to_i32())
|
||||
.expect("Failed to resize swap chain");
|
||||
// temporary, till https://github.com/pcwalton/surfman/issues/35 is fixed
|
||||
self.device
|
||||
.make_context_current(&data.ctx)
|
||||
.expect("Failed to make context current again");
|
||||
swap_chain
|
||||
.clear_surface(&mut self.device, &mut data.ctx, &*data.gl)
|
||||
.expect("Failed to clear resized swap chain");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue