diff --git a/agents/meshcore.js b/agents/meshcore.js index fcf6676d..8f360db7 100644 --- a/agents/meshcore.js +++ b/agents/meshcore.js @@ -1905,7 +1905,7 @@ function createMeshCore(agent) { case 'ON': try { - reg.WriteKey(reg.HKEY.Users, key + '\\SOFTWARE\\Microsoft\\Avalon.Graphics', 'DisableHWAcceleration', 1); + reg.WriteKey(reg.HKEY.Users, key + '\\SOFTWARE\\Microsoft\\Avalon.Graphics', 'DisableHWAcceleration', 0); response = 'OK'; } catch (ee) @@ -1916,7 +1916,7 @@ function createMeshCore(agent) { case 'OFF': try { - reg.WriteKey(reg.HKEY.Users, key + '\\SOFTWARE\\Microsoft\\Avalon.Graphics', 'DisableHWAcceleration', 0); + reg.WriteKey(reg.HKEY.Users, key + '\\SOFTWARE\\Microsoft\\Avalon.Graphics', 'DisableHWAcceleration', 1); response = 'OK'; } catch (ee) @@ -1929,7 +1929,7 @@ function createMeshCore(agent) { var s; try { - s = reg.QueryKey(reg.HKEY.Users, key + '\\SOFTWARE\\Microsoft\\Avalon.Graphics', 'DisableHWAcceleration')==1?'ENABLED':'DISABLED'; + s = reg.QueryKey(reg.HKEY.Users, key + '\\SOFTWARE\\Microsoft\\Avalon.Graphics', 'DisableHWAcceleration')==1?'DISABLED':'ENABLED'; } catch (ee) {