copy construct RenderTarget.
All checks were successful
Run ReCI Build Test / Explore-Gitea-Actions (push) Successful in 1m36s
All checks were successful
Run ReCI Build Test / Explore-Gitea-Actions (push) Successful in 1m36s
This commit is contained in:
3
main.cpp
3
main.cpp
@@ -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();
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user