add gpu info to debugger
This commit is contained in:
parent
e54ea071fc
commit
f956fe188a
@ -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),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user