From 77890384097fd8d918fbdbdd7cab6fc594ea060f Mon Sep 17 00:00:00 2001 From: Grant Sanderson Date: Thu, 13 Feb 2020 10:49:43 -0800 Subject: [PATCH] Fix bug with fbo initialization --- manimlib/camera/camera.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/manimlib/camera/camera.py b/manimlib/camera/camera.py index c4fca63f..31a3ff7c 100644 --- a/manimlib/camera/camera.py +++ b/manimlib/camera/camera.py @@ -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): """