Maxwell3D: restore original topology when topology overrides are disabled

master
byte[] 2022-03-14 10:37:51 +07:00
parent 37aa472269
commit 364c67e49b
1 changed files with 2 additions and 0 deletions

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