Delete allocated memory in main

This commit is contained in:
Dane Johnson 2021-01-27 16:37:23 -06:00
parent 8a19a4af7a
commit 3852065c95

View File

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