- Merged from FN/Main to 4.23:

- Added early check before creating a TargetPlatform object if the PlatformInfo will be found (check a static function to see if it's usable before making it)
- Changed each platform's GetTargetPlatform[s] function
#rb none
#jira UE-78692

[CL 8031412 by Josh Adams in 4.23 branch]
This commit is contained in:
Josh Adams
2019-08-14 11:13:59 -04:00
parent 452c6f28d6
commit 7efc6ca8c4
20 changed files with 29 additions and 20 deletions

View File

@@ -36,7 +36,7 @@ public:
virtual ITargetPlatform* GetTargetPlatform( ) override
{
if (Singleton == NULL)
if (Singleton == NULL && FHTML5TargetPlatform::IsUsable())
{
// finally, make the interface object
Singleton = new FHTML5TargetPlatform();