diff --git a/examples/src/lib.rs b/examples/src/lib.rs index 8aa71ec..d174dc5 100644 --- a/examples/src/lib.rs +++ b/examples/src/lib.rs @@ -100,8 +100,8 @@ unsafe fn create_surface(instance: &Instance, } #[cfg(windows)] -unsafe fn create_surface(instance: &Instance, - entry: &Entry, +unsafe fn create_surface(instance: &Instance, + entry: &Entry, window: &winit::Window) -> Result { use winit::os::windows::WindowExt;