Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/intern
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2013-01-09 15:25:16 +0400
committerTon Roosendaal <ton@blender.org>2013-01-09 15:25:16 +0400
commit96b44c622cad77eb05790c9da3ef316fe56159c0 (patch)
tree8b74ad92f31b08bf73c190faeb3290e7f19173b8 /intern
parenta2e17ff5ecb673c2133aaf145033b6f00f50e4cb (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.mm3
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