stewartmatheson / projectx

0 stars 1 forks source link

Memleak #14

Closed msbit closed 3 years ago

msbit commented 3 years ago

Some memory management cleanup based on the output of valgrind, exitting normally pretty much immediately after the content is drawn.

The lion's share was the repeated reallocation in RoomScene::Update when the window is resized (seems to happen about 3 times during initialisation here).

stewartmatheson commented 3 years ago

Awesome work as always Tom. Did not even think to start looking at valgrind.