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:
Gergely Kis 2024-09-26 21:46:48 +02:00 committed by Rémi Verschelde
parent ef9f0beafd
commit c3a277097a
No known key found for this signature in database
GPG key ID: C3336907360768E1
15 changed files with 77 additions and 81 deletions

View file

@ -32,11 +32,7 @@
#include "vulkan_context_x11.h"
#ifdef USE_VOLK
#include <volk.h>
#else
#include <vulkan/vulkan.h>
#endif
#include "drivers/vulkan/godot_vulkan.h"
const char *VulkanContextX11::_get_platform_surface_extension() const {
return VK_KHR_XLIB_SURFACE_EXTENSION_NAME;