1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-09 12:50:35 +00:00

Use title case instead of uppercase for Vulkan Intel GPU detection

This matches how the vendor name is displayed in most places.

The Apple GPU vendor was also added for the M1.
This commit is contained in:
Hugo Locurcio
2021-07-31 16:04:53 +02:00
parent 20d46c5b9e
commit 1bf402c061

View File

@@ -737,10 +737,11 @@ Error VulkanContext::_create_physical_device() {
} vendor_names[] = {
{ 0x1002, "AMD" },
{ 0x1010, "ImgTec" },
{ 0x106B, "Apple" },
{ 0x10DE, "NVIDIA" },
{ 0x13B5, "ARM" },
{ 0x5143, "Qualcomm" },
{ 0x8086, "INTEL" },
{ 0x8086, "Intel" },
{ 0, nullptr },
};
device_name = gpu_props.deviceName;