From c6d1f20537c9bbe0a49e89f81d4b70368ba4172f Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Sun, 25 Nov 2012 22:43:57 -0500 Subject: devdraw: fix retina mode R=rsc http://codereview.appspot.com/6847104 --- src/cmd/devdraw/cocoa-screen.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/cmd/devdraw/cocoa-screen.m b/src/cmd/devdraw/cocoa-screen.m index 24baca1f..a2ff3d40 100644 --- a/src/cmd/devdraw/cocoa-screen.m +++ b/src/cmd/devdraw/cocoa-screen.m @@ -1408,7 +1408,7 @@ winsizepoints() static NSSize winsizepixels() { -#if DOSX_VERSION >= 100700 +#if OSX_VERSION >= 100700 if (OSX_VERSION >= 100700 && devdrawretina) return [win.content convertSizeToBacking: winsizepoints()]; else -- cgit v1.2.3