mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-11-30 22:24:15 +01:00
parent
fae9916708
commit
349817c52e
@ -39,7 +39,7 @@ namespace dxvk::hud {
|
|||||||
Rc<Hud> Hud::createHud(const Rc<DxvkDevice>& device) {
|
Rc<Hud> Hud::createHud(const Rc<DxvkDevice>& device) {
|
||||||
const std::string hudConfig = env::getEnvVar(L"DXVK_HUD");
|
const std::string hudConfig = env::getEnvVar(L"DXVK_HUD");
|
||||||
|
|
||||||
if (hudConfig.size() == 0)
|
if (hudConfig.size() == 0 || hudConfig == "0")
|
||||||
return nullptr;
|
return nullptr;
|
||||||
|
|
||||||
// TODO implement configuration options for the HUD
|
// TODO implement configuration options for the HUD
|
||||||
|
Loading…
Reference in New Issue
Block a user