mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
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:
parent
ef9f0beafd
commit
c3a277097a
15 changed files with 77 additions and 81 deletions
|
|
@ -31,11 +31,8 @@
|
|||
#if defined(WINDOWS_ENABLED) && defined(VULKAN_ENABLED)
|
||||
|
||||
#include "vulkan_context_win.h"
|
||||
#ifdef USE_VOLK
|
||||
#include <volk.h>
|
||||
#else
|
||||
#include <vulkan/vulkan.h>
|
||||
#endif
|
||||
|
||||
#include "drivers/vulkan/godot_vulkan.h"
|
||||
|
||||
const char *VulkanContextWindows::_get_platform_surface_extension() const {
|
||||
return VK_KHR_WIN32_SURFACE_EXTENSION_NAME;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue