- 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
[FYI] bob.tellez


#ROBOMERGE-SOURCE: CL 7952099 via CL 7954770
#ROBOMERGE-BOT: (v393-7951996)

[CL 7954968 by josh adams in Main branch]
This commit is contained in:
josh adams
2019-08-12 18:12:07 -04:00
parent adf84aa0c0
commit 3d282bf6e7
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();