Minor change

This commit is contained in:
sunshineinabox 2024-07-23 22:09:56 -07:00
parent ea44670330
commit e7a4299400

View file

@ -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;
}