mirror of
https://github.com/3b1b/manim.git
synced 2025-09-01 00:48:45 +00:00
Fix bug with fbo initialization
This commit is contained in:
parent
53abf506fc
commit
7789038409
1 changed files with 3 additions and 1 deletions
|
@ -86,7 +86,9 @@ class Camera(object):
|
|||
|
||||
# Methods associated with the frame buffer
|
||||
def get_fbo(self):
|
||||
return self.ctx.simple_framebuffer(self.get_pixel_shape())
|
||||
return self.ctx.simple_framebuffer(
|
||||
(self.pixel_width, self.pixel_height)
|
||||
)
|
||||
|
||||
def resize_frame_shape(self, fixed_dimension=0):
|
||||
"""
|
||||
|
|
Loading…
Add table
Reference in a new issue