Fix build error in the win32 example
This commit is contained in:
parent
309f280887
commit
61b574bcdf
|
@ -100,8 +100,8 @@ unsafe fn create_surface(instance: &Instance<V1_0>,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(windows)]
|
#[cfg(windows)]
|
||||||
unsafe fn create_surface(instance: &Instance,
|
unsafe fn create_surface(instance: &Instance<V1_0>,
|
||||||
entry: &Entry,
|
entry: &Entry<V1_0>,
|
||||||
window: &winit::Window)
|
window: &winit::Window)
|
||||||
-> Result<vk::SurfaceKHR, vk::Result> {
|
-> Result<vk::SurfaceKHR, vk::Result> {
|
||||||
use winit::os::windows::WindowExt;
|
use winit::os::windows::WindowExt;
|
||||||
|
|
Loading…
Reference in a new issue