diff options
| author | ladevieq <ladevie.quentin@gmail.com> | 2021-01-30 22:01:24 +0100 |
|---|---|---|
| committer | ladevieq <ladevie.quentin@gmail.com> | 2021-01-30 22:01:24 +0100 |
| commit | dfc7e6d9cc72d0af135a1716bf525c0e3434cc25 (patch) | |
| tree | 42270e290024356b278a87aac83210dca9c0de0e /src | |
| parent | d7fdab1113623478fecf509c3fd81268d9459b84 (diff) | |
Fix windows compilation
Diffstat (limited to 'src')
| -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; |
