1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-11-18 10:16:40 +00:00

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) if (_supportExtDynamic)
{ {
var oldTopologyClass = _newState.TopologyClass;
var newTopologyClass = Gd.TopologyRemap(topology).ConvertToClass(); var newTopologyClass = Gd.TopologyRemap(topology).ConvertToClass();
if ((oldTopologyClass != newTopologyClass)) if ((_newState.TopologyClass != newTopologyClass))
{ {
_newState.TopologyClass = newTopologyClass; _newState.TopologyClass = newTopologyClass;
} }