From 7bbbbb3a1c603b9411accf7e65eb28c335c5222b Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Mon, 25 Aug 2025 09:45:39 -0700 Subject: [PATCH] Fixed build --- src/video/cocoa/SDL_cocoamouse.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/video/cocoa/SDL_cocoamouse.m b/src/video/cocoa/SDL_cocoamouse.m index cbd935335e..fbf2b06ad2 100644 --- a/src/video/cocoa/SDL_cocoamouse.m +++ b/src/video/cocoa/SDL_cocoamouse.m @@ -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; }