Tried to enable vsync.

This commit is contained in:
The Wobbler 2023-12-29 21:18:43 +01:00
parent ac1b10fd01
commit 2fc2b22307

View file

@ -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)