Remove commended code

This commit is contained in:
Grant Sanderson 2023-01-31 16:08:43 -08:00
parent fca5770b9f
commit d3a4d81a63

View file

@ -138,15 +138,6 @@ class Camera(object):
)
def get_raw_fbo_data(self, dtype: str = 'f1') -> bytes:
# # Copy blocks from fbo into draw_fbo using Blit
# gl.glBindFramebuffer(gl.GL_READ_FRAMEBUFFER, self.fbo.glo)
# gl.glBindFramebuffer(gl.GL_DRAW_FRAMEBUFFER, self.draw_fbo.glo)
# src_viewport = self.fbo.viewport
# gl.glBlitFramebuffer(
# *src_viewport,
# *self.draw_fbo.viewport,
# gl.GL_COLOR_BUFFER_BIT, gl.GL_LINEAR
# )
self.blit(self.fbo, self.draw_fbo)
return self.draw_fbo.read(
viewport=self.draw_fbo.viewport,