From b49b2b1deb84aea24a9e1701f22cc8d2d30f02e2 Mon Sep 17 00:00:00 2001 From: maik klein Date: Wed, 28 Dec 2016 11:13:36 +0100 Subject: [PATCH] Add allocator to the windows example --- examples/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/src/lib.rs b/examples/src/lib.rs index 419a4fd..a0f2869 100644 --- a/examples/src/lib.rs +++ b/examples/src/lib.rs @@ -115,7 +115,7 @@ unsafe fn create_surface(instance: &Instance, }; let win32_surface_loader = Win32Surface::new(&entry, &instance) .expect("Unable to load win32 surface"); - win32_surface_loader.create_win32_surface_khr(&win32_create_info) + win32_surface_loader.create_win32_surface_khr(&win32_create_info, None) } #[cfg(all(unix, not(target_os = "android")))]