Move Graphics cleanup to new function Graphics::destroy()

This makes it so this cleanup code can be re-used without copy-pasting
it over and over again.
This commit is contained in:
Misa
2021-02-15 16:13:18 -08:00
committed by Ethan Lee
parent c955ce4380
commit 3fe1870b32
2 changed files with 24 additions and 18 deletions

View File

@@ -17,6 +17,7 @@ class Graphics
{
public:
void init();
void destroy();
GraphicsResources grphx;