mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2024-12-27 16:02:16 +03:00
Updated wpfhwacceleration description
This commit is contained in:
parent
b086fd741f
commit
771c4c89f4
@ -1905,7 +1905,7 @@ function createMeshCore(agent) {
|
|||||||
case 'ON':
|
case 'ON':
|
||||||
try
|
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';
|
response = 'OK';
|
||||||
}
|
}
|
||||||
catch (ee)
|
catch (ee)
|
||||||
@ -1916,7 +1916,7 @@ function createMeshCore(agent) {
|
|||||||
case 'OFF':
|
case 'OFF':
|
||||||
try
|
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';
|
response = 'OK';
|
||||||
}
|
}
|
||||||
catch (ee)
|
catch (ee)
|
||||||
@ -1929,7 +1929,7 @@ function createMeshCore(agent) {
|
|||||||
var s;
|
var s;
|
||||||
try
|
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)
|
catch (ee)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user