Revert "Corrected some bugs..."

This reverts commit 29d8b48503.
This commit is contained in:
Palaui 2014-12-09 13:10:28 +01:00
parent 29d8b48503
commit a2c8ddca13
6 changed files with 13 additions and 44 deletions

View file

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