ide: 'Disable UHD mode' run option

git-svn-id: svn://ultimatepp.org/upp/trunk@12256 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2018-09-07 07:10:23 +00:00
parent 68a4f69269
commit ea02579b4d
11 changed files with 31 additions and 21 deletions

View file

@ -829,6 +829,8 @@ void Ctrl::SetUHDEnabled(bool set)
bool Ctrl::IsUHDEnabled()
{
if(GetEnv("UPP_DISABLE_UHD__") == "1")
return false;
return ApplicationUHDEnabled;
}