Maxwell3D: restore original topology when topology overrides are disabled

This commit is contained in:
byte[] 2022-03-14 10:37:51 -04:00
parent 37aa472269
commit 364c67e49b

View File

@ -377,6 +377,8 @@ void Maxwell3D::ProcessTopologyOverride() {
switch (regs.topology_override) {
case PrimitiveTopologyOverride::None:
topology = regs.draw.topology;
break;
case PrimitiveTopologyOverride::Points:
topology = PrimitiveTopology::Points;
break;