Optimized mode switch from Ultimate

This commit is contained in:
Serge
2023-07-01 11:46:46 +02:00
parent c4adb1eb8b
commit ec7350cf5c
3 changed files with 15 additions and 11 deletions

View File

@@ -419,13 +419,6 @@ namespace GHelper
}
private void ButtonOptimized_Click(object? sender, EventArgs e)
{
AppConfig.Set("gpu_auto", (AppConfig.Get("gpu_auto") == 1) ? 0 : 1);
VisualiseGPUMode();
gpuControl.AutoGPUMode();
}
private void ButtonScreenAuto_Click(object? sender, EventArgs e)
{
AppConfig.Set("screen_auto", 1);
@@ -753,6 +746,13 @@ namespace GHelper
}
private void ButtonOptimized_Click(object? sender, EventArgs e)
{
AppConfig.Set("gpu_auto", (AppConfig.Get("gpu_auto") == 1) ? 0 : 1);
VisualiseGPUMode();
gpuControl.AutoGPUMode(true);
}
private void ButtonStopGPU_Click(object? sender, EventArgs e)
{
gpuControl.KillGPUApps();