Fix build error in the win32 example

This commit is contained in:
maik klein 2017-01-01 09:21:29 +01:00
parent 309f280887
commit 61b574bcdf

View file

@ -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;