Fix bug with fbo initialization

This commit is contained in:
Grant Sanderson 2020-02-13 10:49:43 -08:00
parent 53abf506fc
commit 7789038409

View file

@ -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):
"""