mirror of
https://github.com/3b1b/manim.git
synced 2025-04-13 09:47:07 +00:00
Swap window buffer after blit from another fbo
This commit is contained in:
parent
e7c540f415
commit
8f1299929f
1 changed files with 1 additions and 0 deletions
|
@ -234,6 +234,7 @@ class Camera(object):
|
||||||
self.window.swap_buffers()
|
self.window.swap_buffers()
|
||||||
if self.fbo is not self.window_fbo:
|
if self.fbo is not self.window_fbo:
|
||||||
self.blit(self.fbo, self.window_fbo)
|
self.blit(self.fbo, self.window_fbo)
|
||||||
|
self.window.swap_buffers()
|
||||||
|
|
||||||
def refresh_uniforms(self) -> None:
|
def refresh_uniforms(self) -> None:
|
||||||
frame = self.frame
|
frame = self.frame
|
||||||
|
|
Loading…
Add table
Reference in a new issue