Copy texture without readbacks.
All checks were successful
Run ReCI Build Test / Explore-Gitea-Actions (push) Successful in 2m5s

This commit is contained in:
2024-10-13 09:45:24 -04:00
parent 5d981e64fc
commit bb4a80e36d
6 changed files with 56 additions and 23 deletions

View File

@@ -118,7 +118,7 @@ public:
glDepthMask(GL_TRUE);
image = new Texture("assets/sprites/Re3D.png", TextureFilteringMode::BILINEAR);
j2d_render_target = new RenderTarget({540, 540}, {0,0,0,0}, false, MSAA_SAMPLE_RATE::MSAA_8X);
image2 = new Texture("assets/sprites/Re3D.png",TextureFilteringMode::BILINEAR);
image2 = image;
image2_render_target = new RenderTarget(image2);
J2D::Begin(image2_render_target);