From dcf925ca526e66166c5b19b0b8442a32120a332d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=98=9F=E5=A4=96=E4=B9=8B=E7=A5=9E?= Date: Fri, 3 Jun 2022 19:51:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9A=82=E6=97=B6=E6=94=BE=E5=BC=83OpenGL?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/tool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/tool.py b/source/tool.py index 2d2c042..355c497 100755 --- a/source/tool.py +++ b/source/tool.py @@ -97,7 +97,7 @@ class Control(): while not self.done: self.event_loop() self.update() - pg.display.flip() + pg.display.update() self.clock.tick(self.fps) print('game over')