1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-08 12:40:44 +00:00

Fix build with Vulkan disabled and no Vulkan headers installed.

This commit is contained in:
bruvzg
2022-10-25 22:20:54 +03:00
parent 2b505b74b9
commit 4dd8f68120
14 changed files with 56 additions and 10 deletions

View File

@@ -31,6 +31,8 @@
#ifndef VULKAN_CONTEXT_MACOS_H
#define VULKAN_CONTEXT_MACOS_H
#ifdef VULKAN_ENABLED
#include "drivers/vulkan/vulkan_context.h"
#import <AppKit/AppKit.h>
@@ -44,4 +46,6 @@ public:
~VulkanContextMacOS();
};
#endif // VULKAN_ENABLED
#endif // VULKAN_CONTEXT_MACOS_H