Delete allocated memory in main

This commit is contained in:
Dane Johnson 2021-01-27 16:37:23 -06:00
parent b5ba73825e
commit a51c3d04b2

View File

@ -174,7 +174,12 @@ int main() {
lastTime = curTime; lastTime = curTime;
} }
delete screenShader;
delete skyboxShader;
delete flatShader()
lua->Close(); lua->Close();
delete lua;
glfwDestroyWindow(window); glfwDestroyWindow(window);
glfwTerminate(); glfwTerminate();
return 0; return 0;