Skip to content

Commit

Permalink
windows: and maybe this fixes the build now!
Browse files Browse the repository at this point in the history
  • Loading branch information
wez committed Jan 20, 2024
1 parent ba85958 commit 3ec1cfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion window/src/os/windows/window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -721,7 +721,7 @@ impl WindowInner {
impl HasDisplayHandle for Window {
fn display_handle(&self) -> Result<DisplayHandle, HandleError> {
unsafe {
Ok(DisplayHandle::from_raw(RawDisplayHandle::Windows(
Ok(DisplayHandle::borrow_raw(RawDisplayHandle::Windows(
WindowsDisplayHandle::new(),
)))
}
Expand Down

0 comments on commit 3ec1cfb

Please sign in to comment.