summaryrefslogtreecommitdiff
path: root/platform/windows
diff options
context:
space:
mode:
authorPedro J. Estébanez <pedrojrulez@gmail.com>2021-08-13 00:02:20 +0200
committerPedro J. Estébanez <pedrojrulez@gmail.com>2021-08-13 00:05:41 +0200
commit7b7e17a626392aee0850889e3487b282f0bbc9b6 (patch)
treeaa5b201de2b668679786e6454e9feec955b78377 /platform/windows
parent554312a3b2aeb6d4080912064658d755991228d5 (diff)
Upgrade Vulkan memory allocator
Diffstat (limited to 'platform/windows')
-rw-r--r--platform/windows/vulkan_context_win.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/windows/vulkan_context_win.cpp b/platform/windows/vulkan_context_win.cpp
index d720c7e8fe..db5e6466be 100644
--- a/platform/windows/vulkan_context_win.cpp
+++ b/platform/windows/vulkan_context_win.cpp
@@ -47,7 +47,7 @@ int VulkanContextWindows::window_create(DisplayServer::WindowID p_window_id, Dis
createInfo.hinstance = p_instance;
createInfo.hwnd = p_window;
VkSurfaceKHR surface;
- VkResult err = vkCreateWin32SurfaceKHR(_get_instance(), &createInfo, nullptr, &surface);
+ VkResult err = vkCreateWin32SurfaceKHR(get_instance(), &createInfo, nullptr, &surface);
ERR_FAIL_COND_V(err, -1);
return _window_create(p_window_id, p_vsync_mode, surface, p_width, p_height);
}