Closed germanzhu closed 3 weeks ago
FWIW applying this patch solved another problem for me where when rendering multiple images some erroneous textured triangles would appear between images (as if the batching went wrong within OpenGL).
I believe this has since been fixed.
Motivation
Adding two or more images with ImageMobject showing the recent image in the Scene.
The same problem also occurs in TextureSurface, and this PR is meant to solve this problem.
Proposed changes
Test
Code:
Result:
https://github.com/3b1b/manim/assets/15604323/6d222864-99dc-4ba9-b7ec-6cc469ec9807