diff options
| author | Ray <[email protected]> | 2021-06-22 20:26:59 +0200 |
|---|---|---|
| committer | Ray <[email protected]> | 2021-06-22 20:26:59 +0200 |
| commit | 429c5a9a9add32b470115e8cd9e38aa811546e69 (patch) | |
| tree | 8ce203c254120bee2d2e36c3333858f7cd2fd05e /src/raylib.h | |
| parent | 7f2a071c5168daf0bf8c7ebbf73d75ba1833bb38 (diff) | |
| download | raylib-429c5a9a9add32b470115e8cd9e38aa811546e69.tar.gz raylib-429c5a9a9add32b470115e8cd9e38aa811546e69.zip | |
Review and un-expose InitTimer()
Actually it's not required for SUPPORT_CUSTOM_FRAME_CONTROL
Diffstat (limited to 'src/raylib.h')
| -rw-r--r-- | src/raylib.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/raylib.h b/src/raylib.h index 020af527..ea3dc693 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -964,10 +964,9 @@ RLAPI const char *GetClipboardText(void); // Get clipboa // NOTE: Those functions are intended for advance users that want full control over the frame processing // By default EndDrawing() does this job: draws everything + SwapScreenBuffer() + manage frame timming + PollInputEvents() // To avoid that behaviour and control frame processes manually, enable in config.h: SUPPORT_CUSTOM_FRAME_CONTROL -RLAPI void InitTimer(void); // Initialize timer (hi-resolution if available) -RLAPI void WaitTime(float ms); // Wait for some milliseconds (halt program execution) RLAPI void SwapScreenBuffer(void); // Swap back buffer with front buffer (screen drawing) RLAPI void PollInputEvents(void); // Register all input events +RLAPI void WaitTime(float ms); // Wait for some milliseconds (halt program execution) // Cursor-related functions RLAPI void ShowCursor(void); // Shows cursor |
