You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-09 12:50:35 +00:00
Fix build with Vulkan disabled and no Vulkan headers installed.
This commit is contained in:
@@ -31,6 +31,8 @@
|
||||
#ifndef VULKAN_CONTEXT_X11_H
|
||||
#define VULKAN_CONTEXT_X11_H
|
||||
|
||||
#ifdef VULKAN_ENABLED
|
||||
|
||||
#include "drivers/vulkan/vulkan_context.h"
|
||||
#include <X11/Xlib.h>
|
||||
|
||||
@@ -44,4 +46,6 @@ public:
|
||||
~VulkanContextX11();
|
||||
};
|
||||
|
||||
#endif // VULKAN_ENABLED
|
||||
|
||||
#endif // VULKAN_CONTEXT_X11_H
|
||||
|
||||
Reference in New Issue
Block a user