From f4589434551e27c519515fdae15737582820bd65 Mon Sep 17 00:00:00 2001 From: bruvzg <7645683+bruvzg@users.noreply.github.com> Date: Mon, 5 Feb 2024 23:50:48 +0200 Subject: [macOS / iOS] Switch Vulkan init to VK_EXT_metal_surface extension. --- platform/ios/rendering_context_driver_vulkan_ios.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'platform/ios/rendering_context_driver_vulkan_ios.h') diff --git a/platform/ios/rendering_context_driver_vulkan_ios.h b/platform/ios/rendering_context_driver_vulkan_ios.h index 0778993a05..dc85ff738d 100644 --- a/platform/ios/rendering_context_driver_vulkan_ios.h +++ b/platform/ios/rendering_context_driver_vulkan_ios.h @@ -35,7 +35,7 @@ #include "drivers/vulkan/rendering_context_driver_vulkan.h" -#import +#import class RenderingContextDriverVulkanIOS : public RenderingContextDriverVulkan { private: @@ -46,7 +46,7 @@ protected: public: struct WindowPlatformData { - CALayer *const *layer_ptr; + CAMetalLayer *const *layer_ptr; }; RenderingContextDriverVulkanIOS(); -- cgit v1.2.3