ScottGarryFoster / SuperGameEngine

SuperGameEngine (SGE) is my project to explore programming in C++ by creating a 2D Engine in SDL2.
https://docs.supergameengine.com
Other
1 stars 0 forks source link

Make Clean Techniques occur on a slower update loop #41

Open ScottGarryFoster opened 8 months ago

ScottGarryFoster commented 8 months ago

Cleaning the Techniques (Drawing Renderables) requires looping through the entire set of drawables and finding dead pointers then removing them.

This should not run every frame, make it run every minute.

Perhaps after this task:

40