Swap window buffer after blit from another fbo

This commit is contained in:
Grant Sanderson 2024-09-06 11:15:38 -05:00
parent e7c540f415
commit 8f1299929f

View file

@ -234,6 +234,7 @@ class Camera(object):
self.window.swap_buffers()
if self.fbo is not self.window_fbo:
self.blit(self.fbo, self.window_fbo)
self.window.swap_buffers()
def refresh_uniforms(self) -> None:
frame = self.frame