diff options
author | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2022-01-25 10:07:01 +0200 |
---|---|---|
committer | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2022-02-01 15:58:30 +0200 |
commit | 33d6d4bdf718c9d71e9e97339a5181ae53706880 (patch) | |
tree | 56bfa3a6f9acf83f885013ba20d44eb646da324b /platform/osx/vulkan_context_osx.mm | |
parent | ea12094f19b028c1dcf6d402b8cbb3296b2065a8 (diff) |
[macOS] Enable Objective-C ARC
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); |