From 8dfae682d80cd4b3a08a6eb672ddc3f04af16116 Mon Sep 17 00:00:00 2001 From: Alex Janka Date: Wed, 15 Mar 2023 17:48:13 +1100 Subject: [PATCH] fix windows compilation --- src/win/window.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/win/window.rs b/src/win/window.rs index 0be9d61..7da369d 100644 --- a/src/win/window.rs +++ b/src/win/window.rs @@ -647,7 +647,7 @@ impl Window<'_> { #[cfg(feature = "opengl")] let gl_context: Option = options.gl_config.map(|gl_config| { - let mut handle = Win32Handle::empty(); + let mut handle = Win32WindowHandle::empty(); handle.hwnd = hwnd as *mut c_void; let handle = RawWindowHandleWrapper { handle: RawWindowHandle::Win32(handle) }; @@ -773,6 +773,6 @@ unsafe impl HasRawDisplayHandle for Window<'_> { } } -pub fn copy_to_clipboard(data: &str) { +pub fn copy_to_clipboard(_data: &str) { todo!() }