# HG changeset patch # User Sam # Date 1682585896 25200 # Node ID 23b04b8c829889aad62612ddd27f69fcf718934d # Parent d236692d6d367d52cff243245136c4ab22102e0d fix: typo diff -r d236692d6d36 -r 23b04b8c8298 src/semicongine/platform/windows/surface.nim --- a/src/semicongine/platform/windows/surface.nim Thu Apr 27 00:36:45 2023 +0700 +++ b/src/semicongine/platform/windows/surface.nim Thu Apr 27 01:58:16 2023 -0700 @@ -1,9 +1,8 @@ import ../../vulkan/api -import ../../vulkan/instance import ../../platform/window proc createNativeSurface*(instance: VkInstance, window: NativeWindow): VkSurfaceKHR = - assert instance.vk.valid + assert instance.valid var surfaceCreateInfo = VkWin32SurfaceCreateInfoKHR( sType: VK_STRUCTURE_TYPE_WIN32_SURFACE_CREATE_INFO_KHR, hinstance: cast[HINSTANCE](window.hinstance),