diff options
| author | Ray <[email protected]> | 2022-05-12 16:51:46 +0200 |
|---|---|---|
| committer | Ray <[email protected]> | 2022-05-12 16:51:46 +0200 |
| commit | db16833d8cb8a252aeb1807fcbb8a600e2ab5900 (patch) | |
| tree | eb3f0c63a429df82dde1d440e07bd15433a0fcc4 /src/raylib.h | |
| parent | f3aac87422220b0b8adcefd46f72dbd62c9736d5 (diff) | |
| download | raylib-db16833d8cb8a252aeb1807fcbb8a600e2ab5900.tar.gz raylib-db16833d8cb8a252aeb1807fcbb8a600e2ab5900.zip | |
ADDED: `EnableEventWaiting()` / `DisableEventWaiting()`
Events waiting can be enabled/disabled, it toggles event polling.
Diffstat (limited to 'src/raylib.h')
| -rw-r--r-- | src/raylib.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/raylib.h b/src/raylib.h index 392fe7e8..548b05fc 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -949,6 +949,8 @@ RLAPI Vector2 GetWindowScaleDPI(void); // Get window RLAPI const char *GetMonitorName(int monitor); // Get the human-readable, UTF-8 encoded name of the primary monitor RLAPI void SetClipboardText(const char *text); // Set clipboard text content RLAPI const char *GetClipboardText(void); // Get clipboard text content +RLAPI void EnableEventWaiting(void); // Enable waiting for events on EndDrawing(), no automatic event polling +RLAPI void DisableEventWaiting(void); // Disable waiting for events on EndDrawing(), automatic events polling // Custom frame control functions // NOTE: Those functions are intended for advance users that want full control over the frame processing |
