mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2025-01-12 13:49:12 +00:00
No functional change
This commit is contained in:
parent
0b53b418eb
commit
97743b6c81
1 changed files with 7 additions and 12 deletions
|
@ -200,8 +200,7 @@ namespace Ryujinx.Ava.UI.ViewModels
|
|||
_graphicsBackendIndex = value;
|
||||
OnPropertyChanged();
|
||||
OnPropertyChanged(nameof(IsVulkanSelected));
|
||||
NoGLSLVulkan();
|
||||
OnPropertyChanged(nameof(ShadingLangugeIndex));
|
||||
Task.Run(NoGlslVulkan);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -331,13 +330,18 @@ namespace Ryujinx.Ava.UI.ViewModels
|
|||
});
|
||||
}
|
||||
|
||||
public async Task NoGLSLVulkan()
|
||||
private async Task NoGlslVulkan()
|
||||
{
|
||||
if (IsVulkanSelected & ShadingLangugeIndex == 1 || IsVulkanSelected & _shadinglanguageBackendIndex == 1)
|
||||
{
|
||||
_shadinglanguageBackendIndex = 0;
|
||||
ShadingLangugeIndex = 0;
|
||||
}
|
||||
|
||||
await Dispatcher.UIThread.InvokeAsync(() =>
|
||||
{
|
||||
OnPropertyChanged(nameof(ShadingLangugeIndex));
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
|
@ -416,15 +420,6 @@ namespace Ryujinx.Ava.UI.ViewModels
|
|||
Dispatcher.UIThread.Post(() => OnPropertyChanged(nameof(NetworkInterfaceIndex)));
|
||||
}
|
||||
|
||||
private async Task NoGLSLVUlkan()
|
||||
{
|
||||
if (_graphicsBackendIndex == 0)
|
||||
{
|
||||
_shadinglanguageBackendIndex = 0;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public void ValidateAndSetTimeZone(string location)
|
||||
{
|
||||
if (_validTzRegions.Contains(location))
|
||||
|
|
Loading…
Reference in a new issue