Add allocator to the windows example

This commit is contained in:
maik klein 2016-12-28 11:13:36 +01:00
parent f01eb2d9d5
commit b49b2b1deb

View file

@ -115,7 +115,7 @@ unsafe fn create_surface(instance: &Instance,
}; };
let win32_surface_loader = Win32Surface::new(&entry, &instance) let win32_surface_loader = Win32Surface::new(&entry, &instance)
.expect("Unable to load win32 surface"); .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")))] #[cfg(all(unix, not(target_os = "android")))]