Skip to content

Commit 7981182

Browse files
committed
add device name to viewport overlay
1 parent 213f4d9 commit 7981182

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tsd/apps/interactive/common/windows/Viewport.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -781,7 +781,8 @@ void Viewport::ui_overlay()
781781
ImGui::SetNextWindowPos(windowPos, ImGuiCond_Always);
782782

783783
if (ImGui::Begin(m_overlayWindowName.c_str(), nullptr, window_flags)) {
784-
ImGui::Text("viewport: %i x %i", m_viewportSize.x, m_viewportSize.y);
784+
ImGui::Text(" device: %s", m_libName.c_str());
785+
ImGui::Text("Viewport: %i x %i", m_viewportSize.x, m_viewportSize.y);
785786
ImGui::Text(" render: %i x %i", m_renderSize.x, m_renderSize.y);
786787
ImGui::Text(" samples: %i", m_frameSamples);
787788

0 commit comments

Comments
 (0)