copy construct RenderTarget.
All checks were successful
Run ReCI Build Test / Explore-Gitea-Actions (push) Successful in 1m36s

This commit is contained in:
2024-10-13 16:37:51 -04:00
parent bb4a80e36d
commit cc504c65ec
4 changed files with 24 additions and 5 deletions

View File

@@ -201,9 +201,10 @@ public:
//Draw the Render Target that we just drew all that stuff onto.
auto image3_render_target = image2_render_target;
J2D::Begin();
J2D::DrawSprite(*j2d_render_target, {0, 0}, 0, {0.5, 0.5}, {1,1}, Colors::White);
J2D::DrawSprite(*image2_render_target, {300, 500}, 0, {0.5, 0.5}, {1,1}, Colors::White);
J2D::DrawSprite(*image3_render_target, {300, 500}, 0, {0.5, 0.5}, {1,1}, Colors::White);
J2D::End();
}