Skip to content

Commit

Permalink
Fix bug where not all targets from the previous context were restored
Browse files Browse the repository at this point in the history
  • Loading branch information
Rampastring committed Oct 6, 2024
1 parent ee9b663 commit d73059e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RenderTargetStack.cs
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ public static void PopRenderTarget()

Renderer.EndDraw();
Renderer.PopSettingsInternal();
graphicsDevice.SetRenderTarget(CurrentContext.RenderTarget);
SetRenderTargetsFromContext(CurrentContext);
Renderer.BeginDraw();
}
}
Expand Down

0 comments on commit d73059e

Please sign in to comment.