add gpu info to debugger

This commit is contained in:
Teatov 2025-03-01 20:14:16 +10:00
parent e54ea071fc
commit f956fe188a

View File

@ -283,6 +283,7 @@ func _on_control_draw() -> void:
_label3_text = ""
_append_text("fps", Engine.get_frames_per_second() as int, 0)
_append_text("gpu", RenderingServer.get_video_adapter_name(), 0)
_append_text(
"resolution",
Vector2i(get_viewport().size * get_viewport().scaling_3d_scale as Vector2),