tweak settings and debugger
This commit is contained in:
parent
3458ce8bf0
commit
ba8b0bb559
@ -260,14 +260,6 @@ func _on_control_draw() -> void:
|
||||
_label3_text = ""
|
||||
|
||||
_append_text("fps", Engine.get_frames_per_second() as int, 0)
|
||||
_append_text(
|
||||
"draw calls",
|
||||
(
|
||||
Performance.get_monitor(Performance.RENDER_TOTAL_DRAW_CALLS_IN_FRAME)
|
||||
as int
|
||||
),
|
||||
0
|
||||
)
|
||||
|
||||
if mode != Mode.FULL:
|
||||
if mode != Mode.DISABLED:
|
||||
|
||||
@ -27,7 +27,7 @@ const CONFIG_PATH := "user://settings.cfg"
|
||||
DisplayServer.window_set_vsync_mode(value)
|
||||
vsync = value
|
||||
|
||||
@export var limit_max_fps: bool = false:
|
||||
@export var limit_max_fps: bool = true:
|
||||
set(value):
|
||||
if value:
|
||||
Engine.max_fps = max_fps
|
||||
|
||||
Loading…
Reference in New Issue
Block a user