From 2fc2b223073d6266fb19ca1efc799380400c2c75 Mon Sep 17 00:00:00 2001 From: EKNr1 Date: Fri, 29 Dec 2023 21:18:43 +0100 Subject: [PATCH] Tried to enable vsync. --- cowyeet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cowyeet.py b/cowyeet.py index 0fa938c..b35909c 100644 --- a/cowyeet.py +++ b/cowyeet.py @@ -368,7 +368,7 @@ text_buttons.append(lvl_one_button) # loading completed -screen = pygame.display.set_mode(settings["win_size"], flags=pygame.RESIZABLE) +screen = pygame.display.set_mode(settings["win_size"], flags=pygame.RESIZABLE, vsync=1) window_size_reload(settings["win_size"]) pygame.display.set_icon(icon_texture) screen.fill(nero)