Add allocator to the windows example
This commit is contained in:
parent
f01eb2d9d5
commit
b49b2b1deb
|
@ -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")))]
|
||||||
|
|
Loading…
Reference in a new issue