mirror of
https://github.com/3b1b/manim.git
synced 2025-08-19 13:01:00 +00:00
Remove commended code
This commit is contained in:
parent
fca5770b9f
commit
d3a4d81a63
1 changed files with 0 additions and 9 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue