Improved openGL and ImGUI implementation
This commit is contained in:
parent
e746781494
commit
54de2775df
1
.gitignore
vendored
1
.gitignore
vendored
@ -102,3 +102,4 @@ CMakeUserPresets.json
|
|||||||
build
|
build
|
||||||
.cache
|
.cache
|
||||||
test
|
test
|
||||||
|
*.ini
|
||||||
|
|||||||
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user