Move AMD to GPU.AMDAdrenaline

This commit is contained in:
Kamil Trzciński 2022-11-20 14:59:22 +01:00
parent 7b1442db14
commit b06ac16fba
2 changed files with 10 additions and 9 deletions

View file

@ -1,5 +1,6 @@
using CommonHelpers;
using PowerControl.Helpers;
using PowerControl.Helpers.GPU;
using System;
using System.Collections.Generic;
using System.Diagnostics;
@ -56,7 +57,7 @@ namespace PowerControl
Name = "Resolution",
ApplyDelay = 1000,
ResetValue = () => {
if (!AMD.IsGPUScalingEnabled() && !Settings.Default.EnableExperimentalFeatures)
if (!AMDAdrenaline.IsGPUScalingEnabled() && !Settings.Default.EnableExperimentalFeatures)
return null;
return Helpers.PhysicalMonitorBrightnessController.GetAllResolutions().Last();
},
@ -69,7 +70,7 @@ namespace PowerControl
},
CurrentValue = delegate()
{
if (!AMD.IsGPUScalingEnabled() && !Settings.Default.EnableExperimentalFeatures)
if (!AMDAdrenaline.IsGPUScalingEnabled() && !Settings.Default.EnableExperimentalFeatures)
return null;
return Helpers.PhysicalMonitorBrightnessController.GetResolution();
},