diff options
| author | Palaui <sucdepressec@gmail.com> | 2014-12-09 13:10:28 +0100 |
|---|---|---|
| committer | Palaui <sucdepressec@gmail.com> | 2014-12-09 13:10:28 +0100 |
| commit | a2c8ddca1345722603637bddc3421f64025d7e5e (patch) | |
| tree | 0623e6f7c0ada0319c6b8bd8febd48d0e17c9973 /src/core.c | |
| parent | 29d8b48503f3064cdc1f3a87c01b4264e716a220 (diff) | |
| download | raylib-a2c8ddca1345722603637bddc3421f64025d7e5e.tar.gz raylib-a2c8ddca1345722603637bddc3421f64025d7e5e.zip | |
Revert "Corrected some bugs..."
This reverts commit 29d8b48503f3064cdc1f3a87c01b4264e716a220.
Diffstat (limited to 'src/core.c')
| -rw-r--r-- | src/core.c | 11 |
1 files changed, 1 insertions, 10 deletions
@@ -165,7 +165,7 @@ static const char *windowTitle; // Window text title... static char configFlags = 0; static bool customCursor = false; // Tracks if custom cursor has been set -static bool cursorOnScreen = false; // Tracks if cursor is inside client area +static bool cursorOnScreen = true; // Tracks if cursor is inside client area static Texture2D cursor; // Cursor texture static Vector2 mousePosition; @@ -727,15 +727,6 @@ Vector2 GetMousePosition(void) return mousePosition; } -// Set mouse position XY -void SetMousePosition(Vector2 position) -{ - mousePosition = position; -#if defined(PLATFORM_DESKTOP) - glfwSetCursorPos(window, position.x, position.y); -#endif -} - // Returns mouse wheel movement Y int GetMouseWheelMove(void) { |
