Some settings for mac and trying out scalability settings
This commit is contained in:
@@ -10,6 +10,11 @@ FString UPlatformInfotFunctionLibrary::GetGpuBrandName()
|
||||
return FWindowsPlatformMisc::GetPrimaryGPUBrand();
|
||||
#elif PLATFORM_MAC
|
||||
return FMacPlatformMisc::GetPrimaryGPUBrand();
|
||||
#else
|
||||
// IOSPlatformMisc does not implement a GPU brand query, so fall back to the generic
|
||||
// implementation (which reports a placeholder). Required so this non-void function
|
||||
// always returns on IOS/Android/Linux.
|
||||
return FGenericPlatformMisc::GetPrimaryGPUBrand();
|
||||
#endif
|
||||
}
|
||||
|
||||
@@ -19,6 +24,11 @@ FString UPlatformInfotFunctionLibrary::GetCpuBrandName()
|
||||
return FWindowsPlatformMisc::GetCPUBrand();
|
||||
#elif PLATFORM_MAC
|
||||
return FMacPlatformMisc::GetCPUBrand();
|
||||
#elif PLATFORM_IOS
|
||||
// On IOS this reports the device/model identifier string (e.g. "iPhone16,1").
|
||||
return FIOSPlatformMisc::GetCPUBrand();
|
||||
#else
|
||||
return FGenericPlatformMisc::GetCPUBrand();
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user