Ensure GL context is prepared for deinitialization.

This commit is contained in:
Josh Matthews 2019-07-04 10:07:28 -04:00 committed by GitHub
parent 29097d15d0
commit aa41fee181
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -353,6 +353,7 @@ impl<Window: WindowMethods + ?Sized> IOCompositor<Window> {
}
pub fn deinit(self) {
self.window.prepare_for_composite();
self.webrender.deinit();
}