From c9ba32b56803fab1bf54aea056ada77cf97aea1e Mon Sep 17 00:00:00 2001 From: Grant Sanderson Date: Sat, 14 Jan 2023 08:31:53 -0800 Subject: [PATCH] No need to call tobytes --- manimlib/camera/camera.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manimlib/camera/camera.py b/manimlib/camera/camera.py index 9d2be342..138d068d 100644 --- a/manimlib/camera/camera.py +++ b/manimlib/camera/camera.py @@ -414,7 +414,7 @@ class Camera(object): indices = shader_wrapper.vert_indices if indices is not None: vert_data = vert_data[indices] - vbo = self.ctx.buffer(vert_data.tobytes()) + vbo = self.ctx.buffer(vert_data) # For the moment, the index buffer is actually not used, # since it seems to make the actual render calls meaninfully slower ibo = None