mirror of
https://github.com/thegatesbrowser/thegates.git
synced 2025-08-14 18:28:22 -04:00
mailbox on linux
This commit is contained in:
parent
e9fcd708c3
commit
2557eda424
2 changed files with 5 additions and 0 deletions
|
@ -16,6 +16,7 @@ config/tags=PackedStringArray("thegates")
|
|||
run/main_scene="res://scenes/app.tscn"
|
||||
run/enable_alt_space_menu=true
|
||||
config/features=PackedStringArray("4.3")
|
||||
run/max_fps=144
|
||||
boot_splash/bg_color=Color(0, 0, 0, 0)
|
||||
boot_splash/show_image=false
|
||||
config/icon="res://app_icon/icon.svg"
|
||||
|
|
|
@ -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