commit c6d1f20537c9bbe0a49e89f81d4b70368ba4172f from: Russ Cox date: Mon Nov 26 03:43:57 2012 UTC devdraw: fix retina mode R=rsc http://codereview.appspot.com/6847104 commit - 9f3851871ed6edb544dfe5b518bff0121d6c020b commit + c6d1f20537c9bbe0a49e89f81d4b70368ba4172f blob - 24baca1ffb0aa567d5c000c8a38048cd131975d0 blob + a2ff3d4028564c1c0acf1a84d24516e1bb38d096 --- src/cmd/devdraw/cocoa-screen.m +++ 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