summaryrefslogtreecommitdiff
path: root/API.md
diff options
context:
space:
mode:
authorjussi2024-11-22 14:57:31 +0200
committerjussi2024-11-22 14:57:31 +0200
commitcb2b0e4dff5e1d98054f9e5f809fd3a14cd220a1 (patch)
treee64efb0dedce13c03011186de34c72a06cad1757 /API.md
parentc9ebe23d6282e96b410dc7687e0be1c4f3ba1b4d (diff)
downloadreilua-enhanced-cb2b0e4dff5e1d98054f9e5f809fd3a14cd220a1.tar.gz
reilua-enhanced-cb2b0e4dff5e1d98054f9e5f809fd3a14cd220a1.tar.bz2
reilua-enhanced-cb2b0e4dff5e1d98054f9e5f809fd3a14cd220a1.zip
WindowShouldClose and custom main loop example.
Diffstat (limited to 'API.md')
-rw-r--r--API.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/API.md b/API.md
index 06c70e0..d4196ff 100644
--- a/API.md
+++ b/API.md
@@ -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