mirror of
https://github.com/Ed94/Cog.git
synced 2026-06-27 14:11:48 -07:00
CogImgui: Fix imgui windows not correctly placed at startup when using imgui viewports
This commit is contained in:
@@ -152,9 +152,11 @@ void UCogWindowManager::Tick(float DeltaTime)
|
||||
Window->GameTick(DeltaTime);
|
||||
}
|
||||
|
||||
Context.BeginFrame(DeltaTime);
|
||||
Render(DeltaTime);
|
||||
Context.EndFrame();
|
||||
if (Context.BeginFrame(DeltaTime))
|
||||
{
|
||||
Render(DeltaTime);
|
||||
Context.EndFrame();
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user