Fix windows structure type
This commit is contained in:
parent
c4566b6ca9
commit
c0d29d4940
|
@ -126,7 +126,7 @@ unsafe fn create_surface<E: EntryV1_0, I: InstanceV1_0>(
|
|||
let hwnd = window.get_hwnd() as HWND;
|
||||
let hinstance = GetWindow(hwnd, 0) as *const vk::c_void;
|
||||
let win32_create_info = vk::Win32SurfaceCreateInfoKHR {
|
||||
s_type: vk::StructureType::Win32SurfaceCreateInfoKhr,
|
||||
s_type: vk::StructureType::WIN32_SURFACE_CREATE_INFO_KHR,
|
||||
p_next: ptr::null(),
|
||||
flags: Default::default(),
|
||||
hinstance: hinstance,
|
||||
|
|
Loading…
Reference in a new issue