mirror of
https://github.com/rust-windowing/winit.git
synced 2026-06-27 23:23:14 -04:00
Fix crash caused by WM_PAINT getting invoked at inopportune times. (#866)
This commit is contained in:
@@ -730,7 +730,7 @@ unsafe fn init<T: 'static>(
|
||||
window_flags.set(WindowFlags::MAXIMIZED, attributes.maximized);
|
||||
|
||||
let window_state = {
|
||||
let mut window_state = WindowState::new(
|
||||
let window_state = WindowState::new(
|
||||
&attributes,
|
||||
window_icon,
|
||||
taskbar_icon,
|
||||
|
||||
Reference in New Issue
Block a user