mirror of
https://github.com/godotengine/godot.git
synced 2025-10-31 21:51:22 +00:00
Move Vulkan includes to a central godot_vulkan.h header
Also fixes Vulkan build problem with recent Clang.
This commit is contained in:
parent
1fc8208765
commit
146ba4106f
14 changed files with 64 additions and 69 deletions
|
|
@ -32,11 +32,7 @@
|
|||
|
||||
#include "rendering_context_driver_vulkan_wayland.h"
|
||||
|
||||
#ifdef USE_VOLK
|
||||
#include <volk.h>
|
||||
#else
|
||||
#include <vulkan/vulkan.h>
|
||||
#endif
|
||||
#include "drivers/vulkan/godot_vulkan.h"
|
||||
|
||||
const char *RenderingContextDriverVulkanWayland::_get_platform_surface_extension() const {
|
||||
return VK_KHR_WAYLAND_SURFACE_EXTENSION_NAME;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue