From 54de2775dfc9922f69fb3fd0cbe7c610ff8c7764 Mon Sep 17 00:00:00 2001 From: AfonsoCMSousa Date: Thu, 5 Mar 2026 20:15:46 +0000 Subject: [PATCH] Improved openGL and ImGUI implementation --- .gitignore | 1 + source/main.cpp | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index bc08da3..c58c52f 100644 --- a/.gitignore +++ b/.gitignore @@ -102,3 +102,4 @@ CMakeUserPresets.json build .cache test +*.ini diff --git a/source/main.cpp b/source/main.cpp index 5eb2251..60b8d09 100644 --- a/source/main.cpp +++ b/source/main.cpp @@ -84,7 +84,7 @@ __attribute__((constructor)) static void init_glfw(void) { __attribute__((destructor)) static void shutdown_glfw(void) { glDeleteVertexArrays(1, &VAO); glDeleteBuffers(1, &VBO); - glfwDestroyWindow(window); + glfwDestroyWindow(window); glfwTerminate(); } @@ -136,3 +136,4 @@ int main() { return 0; } +