diff --git a/src/Ryujinx.Graphics.Vulkan/PipelineBase.cs b/src/Ryujinx.Graphics.Vulkan/PipelineBase.cs index 4b3221fdd..d001c46e6 100644 --- a/src/Ryujinx.Graphics.Vulkan/PipelineBase.cs +++ b/src/Ryujinx.Graphics.Vulkan/PipelineBase.cs @@ -1069,10 +1069,9 @@ namespace Ryujinx.Graphics.Vulkan if (_supportExtDynamic) { - var oldTopologyClass = _newState.TopologyClass; var newTopologyClass = Gd.TopologyRemap(topology).ConvertToClass(); - if ((oldTopologyClass != newTopologyClass)) + if ((_newState.TopologyClass != newTopologyClass)) { _newState.TopologyClass = newTopologyClass; }