Tried to enable vsync.
This commit is contained in:
parent
ac1b10fd01
commit
2fc2b22307
1 changed files with 1 additions and 1 deletions
|
@ -368,7 +368,7 @@ text_buttons.append(lvl_one_button)
|
||||||
|
|
||||||
# loading completed
|
# 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"])
|
window_size_reload(settings["win_size"])
|
||||||
pygame.display.set_icon(icon_texture)
|
pygame.display.set_icon(icon_texture)
|
||||||
screen.fill(nero)
|
screen.fill(nero)
|
||||||
|
|
Loading…
Reference in a new issue