mirror of
https://github.com/servo/servo.git
synced 2025-07-23 15:23:42 +01:00
Ensure GL context is prepared for deinitialization.
This commit is contained in:
parent
29097d15d0
commit
aa41fee181
1 changed files with 1 additions and 0 deletions
|
@ -353,6 +353,7 @@ impl<Window: WindowMethods + ?Sized> IOCompositor<Window> {
|
|||
}
|
||||
|
||||
pub fn deinit(self) {
|
||||
self.window.prepare_for_composite();
|
||||
self.webrender.deinit();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue