From d0ee7f54bf0165d1a98af07ee4465553de3b0a43 Mon Sep 17 00:00:00 2001 From: Philip Rebohle Date: Mon, 7 Jan 2019 19:23:00 +0100 Subject: [PATCH] [hud] Add DXVK_HUD=full option Enables all HUD elements at once. Close #842. --- src/dxvk/hud/dxvk_hud_config.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/dxvk/hud/dxvk_hud_config.cpp b/src/dxvk/hud/dxvk_hud_config.cpp index 601349a80..dcc7f497f 100644 --- a/src/dxvk/hud/dxvk_hud_config.cpp +++ b/src/dxvk/hud/dxvk_hud_config.cpp @@ -26,6 +26,9 @@ namespace dxvk::hud { this->elements.set( HudElement::DeviceInfo, HudElement::Framerate); + } else if (configStr == "full") { + for (auto pair : g_hudElements) + this->elements.set(pair.second); } else { std::string::size_type pos = 0; std::string::size_type end = 0;