chore(README): add cleanup section

This commit is contained in:
2026-01-10 22:59:59 +01:00
parent 8047b0667f
commit e7f03ccdcf

View File

@@ -290,6 +290,12 @@ int main()
> Update viewport => Clear screen => Use shader => Draw geometry => Poll events => Swap buffers => Check errors.
4. cleanup
```cpp
// ========== Destroy window and terminate GLFW ==========
glfwDestroyWindow(window);
glfwTerminate();
```
## Acknowledge