diff --git a/core/couch.cpp b/core/couch.cpp index 716b652..73af364 100644 --- a/core/couch.cpp +++ b/core/couch.cpp @@ -174,7 +174,12 @@ int main() { lastTime = curTime; } + delete screenShader; + delete skyboxShader; + delete flatShader() lua->Close(); + delete lua; + glfwDestroyWindow(window); glfwTerminate(); return 0;