Mercurial > games > semicongine
changeset 150:7ed6f87a0fe1
fix: typo
author | Sam <sam@basx.dev> |
---|---|
date | Thu, 27 Apr 2023 01:58:16 -0700 |
parents | 0aa18fe8f7f1 |
children | a46923cb0790 |
files | src/semicongine/platform/windows/surface.nim |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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),