diff options
| author | Ray <[email protected]> | 2022-08-01 09:57:11 +0200 |
|---|---|---|
| committer | Ray <[email protected]> | 2022-08-01 09:57:11 +0200 |
| commit | 7853155f992c783e70e0458b8141a79b89de5ad4 (patch) | |
| tree | 92d0c50070d7164d3d9f6035ac5e815bfe260b3f /src | |
| parent | 93b633b6e6f4be8d4c07a564d995f4b16a21eac0 (diff) | |
| download | raylib-7853155f992c783e70e0458b8141a79b89de5ad4.tar.gz raylib-7853155f992c783e70e0458b8141a79b89de5ad4.zip | |
REMOVED: Config option: `SUPPORT_MOUSE_CURSOR_POINT`
Diffstat (limited to 'src')
| -rw-r--r-- | src/config.h | 2 | ||||
| -rw-r--r-- | src/rcore.c | 12 |
2 files changed, 0 insertions, 14 deletions
diff --git a/src/config.h b/src/config.h index 6856ce4f..ce7d9b04 100644 --- a/src/config.h +++ b/src/config.h @@ -46,8 +46,6 @@ #define SUPPORT_MOUSE_GESTURES 1 // Reconfigure standard input to receive key inputs, works with SSH connection. #define SUPPORT_SSH_KEYBOARD_RPI 1 -// Draw a mouse pointer on screen -//#define SUPPORT_MOUSE_CURSOR_POINT 1 // Setting a higher resolution can improve the accuracy of time-out intervals in wait functions. // However, it can also reduce overall system performance, because the thread scheduler switches tasks more often. #define SUPPORT_WINMM_HIGHRES_TIMER 1 diff --git a/src/rcore.c b/src/rcore.c index 5f9633fa..c8c66ebf 100644 --- a/src/rcore.c +++ b/src/rcore.c @@ -57,9 +57,6 @@ * WARNING: Reconfiguring standard input could lead to undesired effects, like breaking other running processes or * blocking the device if not restored properly. Use with care. * -* #define SUPPORT_MOUSE_CURSOR_POINT -* Draw a mouse pointer on screen -* * #define SUPPORT_BUSY_WAIT_LOOP * Use busy wait loop for timing sync, if not defined, a high-resolution timer is setup and used * @@ -2034,15 +2031,6 @@ void EndDrawing(void) { rlDrawRenderBatchActive(); // Update and draw internal render batch -#if defined(SUPPORT_MODULE_RSHAPES) && defined(SUPPORT_MOUSE_CURSOR_POINT) - // Draw a small rectangle on mouse position for user reference - if (!CORE.Input.Mouse.cursorHidden) - { - DrawRectangle(CORE.Input.Mouse.currentPosition.x, CORE.Input.Mouse.currentPosition.y, 3, 3, MAROON); // WARNING: Module required: rshapes - rlDrawRenderBatchActive(); // Update and draw internal render batch - } -#endif - #if defined(SUPPORT_GIF_RECORDING) // Draw record indicator if (gifRecording) |
