summaryrefslogtreecommitdiffstats
path: root/platform/macos/rendering_context_driver_vulkan_macos.h
diff options
context:
space:
mode:
Diffstat (limited to 'platform/macos/rendering_context_driver_vulkan_macos.h')
-rw-r--r--platform/macos/rendering_context_driver_vulkan_macos.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/macos/rendering_context_driver_vulkan_macos.h b/platform/macos/rendering_context_driver_vulkan_macos.h
index bbc67581db..32f8891a2e 100644
--- a/platform/macos/rendering_context_driver_vulkan_macos.h
+++ b/platform/macos/rendering_context_driver_vulkan_macos.h
@@ -35,7 +35,7 @@
#include "drivers/vulkan/rendering_context_driver_vulkan.h"
-#import <AppKit/AppKit.h>
+#import <QuartzCore/CAMetalLayer.h>
class RenderingContextDriverVulkanMacOS : public RenderingContextDriverVulkan {
private:
@@ -46,7 +46,7 @@ protected:
public:
struct WindowPlatformData {
- const id *view_ptr;
+ CAMetalLayer *const *layer_ptr;
};
RenderingContextDriverVulkanMacOS();