[hud] Add DXVK_HUD=full option

Enables all HUD elements at once. Close #842.
This commit is contained in:
Philip Rebohle 2019-01-07 19:23:00 +01:00
parent 22172b2afc
commit d0ee7f54bf
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99
1 changed files with 3 additions and 0 deletions

View File

@ -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;