Skip to content

Commit

Permalink
Merge pull request #56210 from 1ace/vk-engine-version
Browse files Browse the repository at this point in the history
drivers/vulkan: limit pEngineName to only the engine name, without its version
  • Loading branch information
akien-mga authored Dec 24, 2021
2 parents 9d02cfa + 83333f7 commit 28174d5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions drivers/vulkan/vulkan_context.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -628,14 +628,12 @@ Error VulkanContext::_create_physical_device() {
}

CharString cs = ProjectSettings::get_singleton()->get("application/config/name").operator String().utf8();
String name = "GodotEngine " + String(VERSION_FULL_NAME);
CharString namecs = name.utf8();
const VkApplicationInfo app = {
/*sType*/ VK_STRUCTURE_TYPE_APPLICATION_INFO,
/*pNext*/ nullptr,
/*pApplicationName*/ cs.get_data(),
/*applicationVersion*/ 0,
/*pEngineName*/ namecs.get_data(),
/*pEngineName*/ VERSION_NAME,
/*engineVersion*/ VK_MAKE_VERSION(VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH),
/*apiVersion*/ VK_MAKE_VERSION(vulkan_major, vulkan_minor, 0)
};
Expand Down

0 comments on commit 28174d5

Please sign in to comment.