You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-02 16:48:55 +00:00
Fix build with Vulkan disabled and no Vulkan headers installed.
This commit is contained in:
@@ -28,6 +28,7 @@
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/*************************************************************************/
|
||||
|
||||
#ifdef VULKAN_ENABLED
|
||||
#include "vulkan_context_macos.h"
|
||||
#ifdef USE_VOLK
|
||||
#include <volk.h>
|
||||
@@ -57,3 +58,5 @@ VulkanContextMacOS::VulkanContextMacOS() {
|
||||
|
||||
VulkanContextMacOS::~VulkanContextMacOS() {
|
||||
}
|
||||
|
||||
#endif // VULKAN_ENABLED
|
||||
|
||||
Reference in New Issue
Block a user