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) { switch (regs.topology_override) {
case PrimitiveTopologyOverride::None: case PrimitiveTopologyOverride::None:
topology = regs.draw.topology;
break;
case PrimitiveTopologyOverride::Points: case PrimitiveTopologyOverride::Points:
topology = PrimitiveTopology::Points; topology = PrimitiveTopology::Points;
break; break;