Fixed build

This commit is contained in:
Sam Lantinga
2025-08-25 09:45:39 -07:00
parent aab95894a6
commit 7bbbbb3a1c

View File

@@ -392,8 +392,8 @@ bool Cocoa_InitMouse(SDL_VideoDevice *_this)
SDL_SetDefaultCursor(Cocoa_CreateDefaultCursor());
location = [NSEvent mouseLocation];
internal->lastMoveX = location.x;
internal->lastMoveY = location.y;
data->lastMoveX = location.x;
data->lastMoveY = location.y;
return true;
}