summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2021-12-23 21:39:14 +0100
committerGitHub <noreply@github.com>2021-12-23 21:39:14 +0100
commit9d02cfa6b4509f46dc31cca5542ba31bb9b94ae4 (patch)
tree9a7063abe3fd7f4c2b1f18f24ef3fa5b95d14498
parent54d89f2274328cbf0fd63ad01c0a203c9b0f5c62 (diff)
parent961bf6e30f9c0a2e44536a9d121c46b4a3e68f51 (diff)
Merge pull request #56202 from 1ace/vk-engine-version
drivers/vulkan: set the engineVersion to Godot's version
-rw-r--r--drivers/vulkan/vulkan_context.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/vulkan/vulkan_context.cpp b/drivers/vulkan/vulkan_context.cpp
index 5912f481ec..24f8ac29b3 100644
--- a/drivers/vulkan/vulkan_context.cpp
+++ b/drivers/vulkan/vulkan_context.cpp
@@ -636,7 +636,7 @@ Error VulkanContext::_create_physical_device() {
/*pApplicationName*/ cs.get_data(),
/*applicationVersion*/ 0,
/*pEngineName*/ namecs.get_data(),
- /*engineVersion*/ 0,
+ /*engineVersion*/ VK_MAKE_VERSION(VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH),
/*apiVersion*/ VK_MAKE_VERSION(vulkan_major, vulkan_minor, 0)
};
VkInstanceCreateInfo inst_info{};