Make it a switch
This commit is contained in:
parent
ab5a60182c
commit
b26cf63ff9
1 changed files with 6 additions and 1 deletions
|
@ -969,7 +969,12 @@ namespace Ryujinx.Ava
|
||||||
public void InitStatus()
|
public void InitStatus()
|
||||||
{
|
{
|
||||||
StatusInitEvent?.Invoke(this, new StatusInitEventArgs(
|
StatusInitEvent?.Invoke(this, new StatusInitEventArgs(
|
||||||
ConfigurationState.Instance.Graphics.GraphicsBackend.Value == GraphicsBackend.Vulkan ? "Vulkan" : "OpenGL",
|
ConfigurationState.Instance.Graphics.GraphicsBackend.Value switch
|
||||||
|
{
|
||||||
|
GraphicsBackend.Vulkan => "Vulkan",
|
||||||
|
GraphicsBackend.OpenGl => "OpenGL",
|
||||||
|
_ => throw new NotImplementedException()
|
||||||
|
},
|
||||||
$"GPU: {_renderer.GetHardwareInfo().GpuDriver}"));
|
$"GPU: {_renderer.GetHardwareInfo().GpuDriver}"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue