From 61b574bcdfc9bfbc374029b75ffba8192e696af4 Mon Sep 17 00:00:00 2001 From: maik klein Date: Sun, 1 Jan 2017 09:21:29 +0100 Subject: [PATCH] Fix build error in the win32 example --- examples/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;