You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Merge UE5/Release-Engine-Staging @ 15630841 to UE5/Main
This represents UE4/Main @ 15601601 [CL 15631170 by Marc Audy in ue5-main branch]
This commit is contained in:
@@ -482,15 +482,15 @@ void FPreLoadScreenManager::EarlyPlayRenderFrameTick()
|
||||
{
|
||||
bool bIsResponsibleForRendering_Local = true;
|
||||
|
||||
if (!bRenderingEnabled)
|
||||
if (!bRenderingEnabled || !FSlateApplication::IsInitialized())
|
||||
{
|
||||
// In this case FPreLoadScreenManager is responsible for rendering but choosing not to, probably because the
|
||||
// If rendering disabled, FPreLoadScreenManager is responsible for rendering but choosing not to, probably because the
|
||||
// app is not in the foreground.
|
||||
return;
|
||||
}
|
||||
|
||||
if (!FSlateApplication::IsInitialized())
|
||||
{
|
||||
// Cycle lock to give a chance to another thread to re-enable rendering.
|
||||
AcquireCriticalSection.Unlock();
|
||||
FPlatformProcess::Sleep(0);
|
||||
AcquireCriticalSection.Lock();
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user