changeset 611:23b04b8c8298

fix: typo
author Sam <sam@basx.dev>
date Thu, 27 Apr 2023 01:58:16 -0700
parents d236692d6d36
children a21748450a81
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),