MySchoolEngine / GLEngine

The goal of this repository is to build rendering focused game engine. Feel free to join me and extend this project.
https://myschoolengine.github.io/GLEngine-Documentation/
Other
21 stars 1 forks source link

Memory leak when changing levels #176

Closed RohacekD closed 2 years ago

RohacekD commented 2 years ago

Describe the bug When I switch levels the memory stays allocated.

To Reproduce Steps to reproduce the behaviour:

  1. Start the engine
  2. Run some level
  3. Change to lights test level
  4. Switch to a smaller level
  5. Observe memory

Expected behaviour Level change should release all memory and avoid all asserts.