diff --git a/CHANGELOG.md b/CHANGELOG.md index 562adeb..a82ee22 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,10 +9,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - `Model.Draw()` - `Model.DrawWires()` - `models_first_person_maze.cpp` example -- Error correction when unloading images, materials, models and meshes - String override functions to use `std::string` directly instead of `const char*` - `std::vector` wrapper for `GetDirectoryFiles()` and `GetDroppedFiles()` +### Fixed +- `Mouse::SetX()` and `Mouse::SetY()` +- Error correction when unloading images, materials, models and meshes + ## [v3.5.0-alpha1] - 2020-12-26 ### Changed - Update to raylib 3.5.0 diff --git a/include/Mouse.hpp b/include/Mouse.hpp index 39f02cd..ca2ff91 100644 --- a/include/Mouse.hpp +++ b/include/Mouse.hpp @@ -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; }