diff options
Diffstat (limited to 'src/vk-api.cpp')
| -rw-r--r-- | src/vk-api.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vk-api.cpp b/src/vk-api.cpp index 063aafb..9e26942 100644 --- a/src/vk-api.cpp +++ b/src/vk-api.cpp @@ -339,7 +339,7 @@ VkSurfaceKHR vkapi::create_surface(window& wnd) { create_info.hinstance = GetModuleHandle(NULL); create_info.hwnd = wnd.win_handle; - VKRESULT(vkCreateWin32SurfaceKHR(instance, &create_info, nullptr, &platform_surface)) + VKRESULT(vkCreateWin32SurfaceKHR(context.instance, &create_info, nullptr, &surface)) #endif return surface; |
