diff --git a/examples/src/lib.rs b/examples/src/lib.rs index 0626631..5cc309a 100644 --- a/examples/src/lib.rs +++ b/examples/src/lib.rs @@ -126,7 +126,7 @@ unsafe fn create_surface( 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,