mirror of
https://github.com/3b1b/manim.git
synced 2025-08-05 16:49:03 +00:00
No need to call tobytes
This commit is contained in:
parent
19a7721661
commit
c9ba32b568
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue