Skip to content

Commit ad40cb1

Browse files
committed
Fix totalDrawSurfs not being reset
1 parent 82e8352 commit ad40cb1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/engine/renderer/Material.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1734,6 +1734,8 @@ void MaterialSystem::Free() {
17341734
}
17351735
}
17361736

1737+
totalDrawSurfs = 0;
1738+
17371739
currentFrame = 0;
17381740
nextFrame = 1;
17391741
maxStages = 0;

0 commit comments

Comments
 (0)