mirror of
https://github.com/rust-windowing/winit.git
synced 2026-08-30 05:10:03 -04:00
Update for rust alpha 1.0
This commit is contained in:
@@ -419,7 +419,7 @@ pub fn new_window(builder_dimensions: Option<(uint, uint)>, builder_title: Strin
|
||||
unsafe { winapi::TranslateMessage(&msg) };
|
||||
unsafe { winapi::DispatchMessageW(&msg) }; // calls `callback` (see below)
|
||||
}
|
||||
}).detach();
|
||||
});
|
||||
|
||||
rx.recv().unwrap()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user