Skip to content

Commit

Permalink
Explicitly call out global naure of ID_TO_TEXTURE map
Browse files Browse the repository at this point in the history
  • Loading branch information
3b1b committed Jan 17, 2024
1 parent 88672a2 commit 41ece95
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions manimlib/utils/shaders.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
from moderngl.framebuffer import Framebuffer


# Global maps updated as textures are allocated
ID_TO_TEXTURE: dict[int, moderngl.Texture] = dict()
PROGRAM_UNIFORM_MIRRORS: dict[int, dict[str, float | tuple]] = dict()

Expand Down

0 comments on commit 41ece95

Please sign in to comment.