Move Vulkan includes to a central godot_vulkan.h header
Also fixes Vulkan build problem with recent Clang.
(cherry picked from commit 146ba4106f)
This commit is contained in:
committed by
Rémi Verschelde
parent
d71ff49cc9
commit
01b7292495
8
thirdparty/vulkan/vk_mem_alloc.h
vendored
8
thirdparty/vulkan/vk_mem_alloc.h
vendored
@ -126,13 +126,7 @@ See documentation chapter: \ref statistics.
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#ifndef VULKAN_H_
|
||||
#ifdef USE_VOLK
|
||||
#include <volk.h>
|
||||
#else
|
||||
#include <vulkan/vulkan.h>
|
||||
#endif
|
||||
#endif
|
||||
#include "drivers/vulkan/godot_vulkan.h"
|
||||
|
||||
// Define this macro to declare maximum supported Vulkan version in format AAABBBCCC,
|
||||
// where AAA = major, BBB = minor, CCC = patch.
|
||||
|
||||
Reference in New Issue
Block a user