Sam Lantinga hace 3 semanas
padre
commit
7bbbbb3a1c
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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());
 
     location = [NSEvent mouseLocation];
-    internal->lastMoveX = location.x;
-    internal->lastMoveY = location.y;
+    data->lastMoveX = location.x;
+    data->lastMoveY = location.y;
     return true;
 }