mirror of
https://github.com/godotengine/godot.git
synced 2024-12-09 10:09:20 +08:00
Merge pull request #51099 from Calinou/vulkan-print-device-release
Print the Vulkan device name in release builds too
This commit is contained in:
commit
f7d47942ad
@ -757,9 +757,9 @@ Error VulkanContext::_create_physical_device() {
|
||||
vendor_idx++;
|
||||
}
|
||||
}
|
||||
#ifdef DEBUG_ENABLED
|
||||
|
||||
print_line("Using Vulkan Device #" + itos(device_index) + ": " + device_vendor + " - " + device_name);
|
||||
#endif
|
||||
|
||||
device_api_version = gpu_props.apiVersion;
|
||||
|
||||
err = vkEnumerateDeviceExtensionProperties(gpu, nullptr, &device_extension_count, nullptr);
|
||||
|
Loading…
Reference in New Issue
Block a user