1
0
Fork 0
mirror of https://github.com/alacritty/alacritty.git synced 2024-11-25 14:05:41 -05:00

Fix macOS OpenGL context resize ordering

Fixes #2226.
This commit is contained in:
Christian Duerr 2020-01-04 00:19:06 +00:00 committed by GitHub
parent 05df4f4dba
commit dc063180f3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -36,6 +36,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Crash on `clear` when scrolled up in history
- Entire screen getting underlined/stroke out when running `clear`
- Slow startup on some Wayland compositors
- Padding not consistently visible on macOS
### Removed

View file

@ -343,8 +343,8 @@ impl Display {
// Resize renderer
let physical =
PhysicalSize::new(f64::from(self.size_info.width), f64::from(self.size_info.height));
self.renderer.resize(&self.size_info);
self.window.resize(physical);
self.renderer.resize(&self.size_info);
}
/// Draw the screen