From e7a429940052b7cae53269b61d7e0977dd80d499 Mon Sep 17 00:00:00 2001 From: sunshineinabox Date: Tue, 23 Jul 2024 22:09:56 -0700 Subject: [PATCH] Minor change --- src/Ryujinx.Graphics.Vulkan/PipelineBase.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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; }