diff options
author | Ton Roosendaal <ton@blender.org> | 2013-01-09 15:25:16 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2013-01-09 15:25:16 +0400 |
commit | 96b44c622cad77eb05790c9da3ef316fe56159c0 (patch) | |
tree | 8b74ad92f31b08bf73c190faeb3290e7f19173b8 /intern | |
parent | a2e17ff5ecb673c2133aaf145033b6f00f50e4cb (diff) |
Mac HiDPI support:
With the good help from googling, here's code that compiles for
10.6 natively. Will check on 10.7 and 10.8 right after commit.
Diffstat (limited to 'intern')
-rw-r--r-- | intern/ghost/intern/GHOST_WindowCocoa.mm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/intern/ghost/intern/GHOST_WindowCocoa.mm b/intern/ghost/intern/GHOST_WindowCocoa.mm index 40b9dcaf94e..e89dd1b41dc 100644 --- a/intern/ghost/intern/GHOST_WindowCocoa.mm +++ b/intern/ghost/intern/GHOST_WindowCocoa.mm @@ -431,7 +431,8 @@ extern "C" { #if MAC_OS_X_VERSION_MAX_ALLOWED < 1070 @interface NSView (NSOpenGLSurfaceResolution) - (BOOL)wantsBestResolutionOpenGLSurface; -- (void)setWantsBestResolutionOpenGLSurface; +- (void)setWantsBestResolutionOpenGLSurface:(BOOL)flag; +- (NSRect)convertRectToBacking:(NSRect)bounds; @end #endif |