Closed ChaseHuegel closed 1 year ago
The current "fix" is to just disable unloading, this is not a final solution. Everytime the RenderContext is reloaded, it will create new OGL objects without disposing of the previous ones. This is a small and intentional memory leak to be able to continue forward with the current state of testing.
Irrelevant now, the renderer is undergoing rewrite. See https://github.com/ChaseHuegel/swordfish-engine/pull/70
This issue only exists as long as the hard coded test cubes exist, it is a dud. This issue is a reminder to re-enable unloading in RenderContext.Reload when test cubes are removed.