Improved openGL and ImGUI implementation

This commit is contained in:
Afonso Clerigo Mendes de Sousa 2026-03-05 20:15:46 +00:00
parent e746781494
commit 54de2775df
2 changed files with 3 additions and 1 deletions

1
.gitignore vendored
View File

@ -102,3 +102,4 @@ CMakeUserPresets.json
build build
.cache .cache
test test
*.ini

View File

@ -84,7 +84,7 @@ __attribute__((constructor)) static void init_glfw(void) {
__attribute__((destructor)) static void shutdown_glfw(void) { __attribute__((destructor)) static void shutdown_glfw(void) {
glDeleteVertexArrays(1, &VAO); glDeleteVertexArrays(1, &VAO);
glDeleteBuffers(1, &VBO); glDeleteBuffers(1, &VBO);
glfwDestroyWindow(window); glfwDestroyWindow(window);
glfwTerminate(); glfwTerminate();
} }
@ -136,3 +136,4 @@ int main() {
return 0; return 0;
} }