mirror of
https://github.com/allankoechke/raylib-cpp.git
synced 2026-12-04 17:17:35 +00:00
Mouse::SetX/Y fixes
This commit is contained in:
@@ -57,12 +57,12 @@ class Mouse {
|
||||
}
|
||||
|
||||
inline Mouse& SetX(int x) {
|
||||
::SetMouseOffset(x, GetY());
|
||||
::SetMousePosition(x, GetY());
|
||||
return *this;
|
||||
}
|
||||
|
||||
inline Mouse& SetY(int y) {
|
||||
::SetMouseOffset(GetX(), y);
|
||||
::SetMousePosition(GetX(), y);
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user