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")))]