mirror of
https://github.com/thegatesbrowser/thegates.git
synced 2025-08-24 11:17:26 -04:00
mailbox on linux
This commit is contained in:
parent
e9fcd708c3
commit
2557eda424
2 changed files with 5 additions and 0 deletions
|
@ -38,6 +38,10 @@ func set_initial_screen() -> void:
|
|||
if Platform.is_macos():
|
||||
DisplayServer.window_set_mode(DisplayServer.WINDOW_MODE_FULLSCREEN)
|
||||
Debug.logclr("Setting fullscreen mode", Debug.SILENT_CLR)
|
||||
|
||||
if Platform.is_linux():
|
||||
DisplayServer.window_set_vsync_mode(DisplayServer.VSYNC_MAILBOX)
|
||||
Debug.logclr("Setting vsync to mailbox", Debug.SILENT_CLR)
|
||||
|
||||
|
||||
func _exit_tree() -> void:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue