diff options
| author | Russ Cox <rsc@swtch.com> | 2012-11-25 22:43:57 -0500 |
|---|---|---|
| committer | Russ Cox <rsc@swtch.com> | 2012-11-25 22:43:57 -0500 |
| commit | c6d1f20537c9bbe0a49e89f81d4b70368ba4172f (patch) | |
| tree | a3551f22bac31919ec12a165e95a825ab6bb5f8e /src/cmd/devdraw | |
| parent | 9f3851871ed6edb544dfe5b518bff0121d6c020b (diff) | |
| download | plan9port-c6d1f20537c9bbe0a49e89f81d4b70368ba4172f.tar.gz plan9port-c6d1f20537c9bbe0a49e89f81d4b70368ba4172f.zip | |
devdraw: fix retina mode
R=rsc
http://codereview.appspot.com/6847104
Diffstat (limited to 'src/cmd/devdraw')
| -rw-r--r-- | src/cmd/devdraw/cocoa-screen.m | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
