mirror of
https://github.com/yawut/SDL.git
synced 2026-08-26 18:55:32 -05:00
Changed so that it's obvious that the two code blocks are related.
This commit is contained in:
@@ -243,7 +243,7 @@ static __inline__ void ConvertNSRect(NSRect *r)
|
||||
point.x = point.x - rect.origin.x;
|
||||
point.y = CGDisplayPixelsHigh(kCGDirectMainDisplay) - point.y - rect.origin.y;
|
||||
} else {
|
||||
point.x -= window->x;
|
||||
point.x = point.x - window->x;
|
||||
point.y = CGDisplayPixelsHigh(kCGDirectMainDisplay) - point.y - window->y;
|
||||
}
|
||||
if ( point.x < 0 || point.x >= window->w ||
|
||||
|
||||
Reference in New Issue
Block a user