summaryrefslogtreecommitdiff
path: root/src/video/cocoa/wnd_quickdraw.mm
diff options
context:
space:
mode:
Diffstat (limited to 'src/video/cocoa/wnd_quickdraw.mm')
-rw-r--r--src/video/cocoa/wnd_quickdraw.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video/cocoa/wnd_quickdraw.mm b/src/video/cocoa/wnd_quickdraw.mm
index 4c125ae38..41d807bee 100644
--- a/src/video/cocoa/wnd_quickdraw.mm
+++ b/src/video/cocoa/wnd_quickdraw.mm
@@ -717,7 +717,7 @@ CGPoint WindowQuickdrawSubdriver::PrivateLocalToCG(NSPoint* p)
*p = [ qdview convertPoint:*p toView: nil ];
*p = [ window convertBaseToScreen:*p ];
- p->y = window_height - p->y;
+ p->y = device_height - p->y;
cgp.x = p->x;
cgp.y = p->y;