You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Use "volk" instead of statically linked Vulkan loader.
This commit is contained in:
@@ -29,7 +29,11 @@
|
||||
/*************************************************************************/
|
||||
|
||||
#include "vulkan_context_x11.h"
|
||||
#include <vulkan/vulkan_xlib.h>
|
||||
#ifdef USE_VOLK
|
||||
#include <volk.h>
|
||||
#else
|
||||
#include <vulkan/vulkan.h>
|
||||
#endif
|
||||
|
||||
const char *VulkanContextX11::_get_platform_surface_extension() const {
|
||||
return VK_KHR_XLIB_SURFACE_EXTENSION_NAME;
|
||||
|
||||
Reference in New Issue
Block a user