Fix mouse going out of bounds in fullscreen
The coordinates were translated, but this was done on a copy instead of overwriting the original object.
This commit is contained in:
parent
84487958d2
commit
64a4d498ce
3 changed files with 3 additions and 3 deletions
|
@ -260,7 +260,7 @@ void ResVmSdlGraphicsManager::notifyVideoExpose() {
|
|||
//updateScreen();
|
||||
}
|
||||
|
||||
bool ResVmSdlGraphicsManager::notifyMousePosition(Common::Point mouse) {
|
||||
bool ResVmSdlGraphicsManager::notifyMousePosition(Common::Point &mouse) {
|
||||
transformMouseCoordinates(mouse);
|
||||
// ResidualVM: not use that:
|
||||
//setMousePos(mouse.x, mouse.y);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue