mirror of
https://github.com/godotengine/godot.git
synced 2025-01-30 21:33:18 +08:00
Print the Vulkan device name in release builds too
This is important information to include in bug reports for exported projects, and is consistent with the behavior found in the GLES3 and GLES2 renderers in `3.x`.
This commit is contained in:
parent
20d46c5b9e
commit
5920bc32c3
@ -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