summaryrefslogtreecommitdiffstats
path: root/platform/ios/rendering_context_driver_vulkan_ios.h
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-02-13 17:24:15 +0100
committerRémi Verschelde <rverschelde@gmail.com>2024-02-13 17:24:15 +0100
commitb50001ecfe614d6fba2262ed65a7d036d57b3862 (patch)
tree8bd4d795d407055fb47bea39199ccd9eed106919 /platform/ios/rendering_context_driver_vulkan_ios.h
parentb36480684cc7a58f37ca325af635ee92d8502306 (diff)
parentf4589434551e27c519515fdae15737582820bd65 (diff)
downloadredot-engine-b50001ecfe614d6fba2262ed65a7d036d57b3862.tar.gz
Merge pull request #87999 from bruvzg/metal_layer
[macOS / iOS] Switch Vulkan init to `VK_EXT_metal_surface` extension.
Diffstat (limited to 'platform/ios/rendering_context_driver_vulkan_ios.h')
-rw-r--r--platform/ios/rendering_context_driver_vulkan_ios.h4
1 files changed, 2 insertions, 2 deletions
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 <UIKit/UIKit.h>
+#import <QuartzCore/CAMetalLayer.h>
class RenderingContextDriverVulkanIOS : public RenderingContextDriverVulkan {
private:
@@ -46,7 +46,7 @@ protected:
public:
struct WindowPlatformData {
- CALayer *const *layer_ptr;
+ CAMetalLayer *const *layer_ptr;
};
RenderingContextDriverVulkanIOS();