Skip to content

Commit

Permalink
WaitForGpu (flush equivalent) added on resize
Browse files Browse the repository at this point in the history
  • Loading branch information
IngmarBitter committed May 26, 2020
1 parent fe66495 commit 024d199
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions samples/WinForms/Scene.cs
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,8 @@ public virtual void OnInit()

public virtual void ReInit()
{
WaitForGpu();

{ // Load pipeline after adapter, window and swapchain creation
DestriptorHeapCreate();
RenderTargetViewsCreate();
Expand Down

0 comments on commit 024d199

Please sign in to comment.