I want to release graphics used by health bars, drawn shapes, and selection outlines when I unload a level while the game stays open.
Cleanup calls would let the game release those resources without reaching into the drawing code. Quitting already frees them; the benefit is releasing them between levels.
PR #10 adds calls for resources the game owns. The game decides when to call them, while its graphics context is available. This does not add a level-loading system.
I want to release graphics used by health bars, drawn shapes, and selection outlines when I unload a level while the game stays open.
Cleanup calls would let the game release those resources without reaching into the drawing code. Quitting already frees them; the benefit is releasing them between levels.
PR #10 adds calls for resources the game owns. The game decides when to call them, while its graphics context is available. This does not add a level-loading system.