[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [53678] trunk/blender/intern/ghost/intern/ GHOST_WindowCocoa.mm: Mac HiDPI support:
Ton Roosendaal
ton at blender.org
Wed Jan 9 12:25:21 CET 2013
Revision: 53678
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=53678
Author: ton
Date: 2013-01-09 11:25:16 +0000 (Wed, 09 Jan 2013)
Log Message:
-----------
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.
Modified Paths:
--------------
trunk/blender/intern/ghost/intern/GHOST_WindowCocoa.mm
Modified: trunk/blender/intern/ghost/intern/GHOST_WindowCocoa.mm
===================================================================
--- trunk/blender/intern/ghost/intern/GHOST_WindowCocoa.mm 2013-01-09 10:18:05 UTC (rev 53677)
+++ trunk/blender/intern/ghost/intern/GHOST_WindowCocoa.mm 2013-01-09 11:25:16 UTC (rev 53678)
@@ -431,7 +431,8 @@
#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
More information about the Bf-blender-cvs
mailing list