Browse Source

REMOVED: Config option: `SUPPORT_MOUSE_CURSOR_POINT`

pull/2605/head
Ray 2 years ago
parent
commit
7853155f99
3 changed files with 1 additions and 14 deletions
  1. +1
    -0
      CHANGELOG
  2. +0
    -2
      src/config.h
  3. +0
    -12
      src/rcore.c

+ 1
- 0
CHANGELOG View File

@ -185,6 +185,7 @@ Detailed changes:
[build] ADDED: Repology badge (#2367) by @jubalh
[build] ADDED: Support DLL compilation with TCC compiler (#2569) by @audinue
[build] ADDED: Missing examples to VS2022 examples solution
[build] REMOVED: SUPPORT_MOUSE_CURSOR_POINT config option
[build] REVIEWED: Fixed RPi make install (#2217) by @wereii
[build] REVIEWED: Fix build results path on Linux and RPi (#2218) by @wereii
[build] REVIEWED: Makefiles debug flag

+ 0
- 2
src/config.h View File

@ -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

+ 0
- 12
src/rcore.c View File

@ -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)

Loading…
Cancel
Save