Browse Source

Fixed build

Sam Lantinga 3 weeks ago
parent
commit
7bbbbb3a1c
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/video/cocoa/SDL_cocoamouse.m

+ 2 - 2
src/video/cocoa/SDL_cocoamouse.m

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