add antialiasing setting

This commit is contained in:
2025-03-01 04:26:40 +10:00
parent 841e05149a
commit 380c4f797f
2 changed files with 33 additions and 0 deletions

View File

@@ -283,6 +283,11 @@ func _on_control_draw() -> void:
_label3_text = ""
_append_text("fps", Engine.get_frames_per_second() as int, 0)
_append_text(
"resolution",
Vector2i(get_viewport().size * get_viewport().scaling_3d_scale as Vector2),
0
)
if mode == Mode.PERFORMANCE:
_set_label_texts()