diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-02-07 13:36:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-07 13:36:09 +0100 |
commit | 1694626e03639cdf6879117e00772bdcc6bad594 (patch) | |
tree | 62adf8ae26624568f06bf01d3209581750afd44c /platform/osx/vulkan_context_osx.mm | |
parent | bc1a3d791d8797071844ca5ac3d15aee59b361f9 (diff) | |
parent | b84ef16aa7ef7a871ccc3a06aca52fe820b47967 (diff) |
Merge pull request #57305 from bruvzg/macos_cleanup
Diffstat (limited to 'platform/osx/vulkan_context_osx.mm')
-rw-r--r-- | platform/osx/vulkan_context_osx.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/osx/vulkan_context_osx.mm b/platform/osx/vulkan_context_osx.mm index f32fab1eee..bdabc24c28 100644 --- a/platform/osx/vulkan_context_osx.mm +++ b/platform/osx/vulkan_context_osx.mm @@ -44,7 +44,7 @@ Error VulkanContextOSX::window_create(DisplayServer::WindowID p_window_id, Displ createInfo.sType = VK_STRUCTURE_TYPE_MACOS_SURFACE_CREATE_INFO_MVK; createInfo.pNext = nullptr; createInfo.flags = 0; - createInfo.pView = p_window; + createInfo.pView = (__bridge const void *)p_window; VkSurfaceKHR surface; VkResult err = vkCreateMacOSSurfaceMVK(get_instance(), &createInfo, nullptr, &surface); |