remove unneeded change
This commit is contained in:
parent
345fd526fc
commit
6a91ac26d7
1 changed files with 1 additions and 2 deletions
|
@ -436,8 +436,7 @@ impl Platform for WindowsPlatform {
|
|||
handle: AnyWindowHandle,
|
||||
options: WindowParams,
|
||||
) -> Result<Box<dyn PlatformWindow>> {
|
||||
let window = WindowsWindow::new(handle, options, self.generate_creation_info())
|
||||
.inspect_err(|err| show_error("Failed to open new window", err.to_string()))?;
|
||||
let window = WindowsWindow::new(handle, options, self.generate_creation_info())?;
|
||||
let handle = window.get_raw_handle();
|
||||
self.raw_window_handles.write().push(handle);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue