From 41ece958fd1fe5b0138255d3003e321df3d6ad01 Mon Sep 17 00:00:00 2001 From: Grant Sanderson Date: Wed, 17 Jan 2024 15:02:19 -0600 Subject: [PATCH] Explicitly call out global naure of ID_TO_TEXTURE map --- manimlib/utils/shaders.py | 1 + 1 file changed, 1 insertion(+) diff --git a/manimlib/utils/shaders.py b/manimlib/utils/shaders.py index ec915b25..18b3d24e 100644 --- a/manimlib/utils/shaders.py +++ b/manimlib/utils/shaders.py @@ -21,6 +21,7 @@ if TYPE_CHECKING: 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()