WindowShouldClose and custom main loop example.

This commit is contained in:
jussi
2024-11-22 14:57:31 +02:00
parent c9ebe23d62
commit cb2b0e4dff
8 changed files with 83 additions and 5 deletions

7
API.md
View File

@@ -3783,6 +3783,13 @@ Close window and unload OpenGL context and free all resources
---
> RL.WindowShouldClose()
Check if application should close (KEY_ESCAPE pressed or windows close icon clicked).
Note! Not needed unless you want to make custom main loop
---
> state = RL.IsWindowReady()
Check if window has been initialized successfully