No need to by reference

This commit is contained in:
sunshineinabox 2024-05-15 00:54:08 -07:00
parent 07ac4192cd
commit 5894ef043b
2 changed files with 3 additions and 3 deletions

View file

@ -726,7 +726,7 @@ namespace Ryujinx.Graphics.Vulkan
DynamicState.SetCullMode(oldCullMode);
DynamicState.SetStencilTest(oldStencilTestEnable);
DynamicState.SetDepthTestBool(oldDepthTestEnable, oldDepthWriteEnable);
DynamicState.SetPrimitiveTopology(ref oldTopology);
DynamicState.SetPrimitiveTopology(oldTopology);
}
else
{
@ -1021,7 +1021,7 @@ namespace Ryujinx.Graphics.Vulkan
var vkTopology = Gd.TopologyRemap(topology).Convert();
if (_supportExtDynamic)
{
DynamicState.SetPrimitiveTopology(ref vkTopology);
DynamicState.SetPrimitiveTopology(vkTopology);
}
else
{