mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-31 13:41:03 +00:00 
			
		
		
		
	
		
			
	
	
		
			18 lines
		
	
	
	
		
			463 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
		
		
			
		
	
	
			18 lines
		
	
	
	
		
			463 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
|   | diff --git a/thirdparty/vulkan/vk_enum_string_helper.h b/thirdparty/vulkan/vk_enum_string_helper.h
 | ||
|  | index 4c36430341..004a861774 100755
 | ||
|  | --- a/thirdparty/vulkan/vk_enum_string_helper.h
 | ||
|  | +++ b/thirdparty/vulkan/vk_enum_string_helper.h
 | ||
|  | @@ -36,7 +36,11 @@
 | ||
|  |  #endif | ||
|  |   | ||
|  |  #include <string> | ||
|  | -#include <vulkan/vulkan.h>
 | ||
|  | +#ifdef USE_VOLK
 | ||
|  | +    #include <volk.h>
 | ||
|  | +#else
 | ||
|  | +    #include <vulkan/vulkan.h>
 | ||
|  | +#endif
 | ||
|  |   | ||
|  |   | ||
|  |  static inline const char* string_VkResult(VkResult input_value) |