Skip to content

Commit 78c10c5

Browse files
committed
Bug: Qt window did not count frames
1 parent 4494d08 commit 78c10c5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

demosys/context/pyqt/window.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ def resizeGL(self, width, height):
8585
print("Resize", width, height)
8686

8787
def swap_buffers(self):
88+
self.frames += 1
8889
self.widget.swapBuffers()
8990
# We don't use standard event loop having to manually process events
9091
self.app.processEvents()

0 commit comments

Comments
 (0)