mirror of
https://github.com/guezoloic/LearnOpenGL.git
synced 2026-01-25 03:34:15 +00:00
chore(README): add cleanup section
This commit is contained in:
@@ -291,6 +291,12 @@ int main()
|
|||||||
|
|
||||||
4. cleanup
|
4. cleanup
|
||||||
|
|
||||||
|
```cpp
|
||||||
|
// ========== Destroy window and terminate GLFW ==========
|
||||||
|
glfwDestroyWindow(window);
|
||||||
|
glfwTerminate();
|
||||||
|
```
|
||||||
|
|
||||||
## Acknowledge
|
## Acknowledge
|
||||||
|
|
||||||
A big thanks to [LearnOpenGL](https://learnopengl.com) tutorials.
|
A big thanks to [LearnOpenGL](https://learnopengl.com) tutorials.
|
||||||
Reference in New Issue
Block a user