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.
This commit is contained in:
@@ -431,7 +431,8 @@ extern "C" {
|
|||||||
#if MAC_OS_X_VERSION_MAX_ALLOWED < 1070
|
#if MAC_OS_X_VERSION_MAX_ALLOWED < 1070
|
||||||
@interface NSView (NSOpenGLSurfaceResolution)
|
@interface NSView (NSOpenGLSurfaceResolution)
|
||||||
- (BOOL)wantsBestResolutionOpenGLSurface;
|
- (BOOL)wantsBestResolutionOpenGLSurface;
|
||||||
- (void)setWantsBestResolutionOpenGLSurface;
|
- (void)setWantsBestResolutionOpenGLSurface:(BOOL)flag;
|
||||||
|
- (NSRect)convertRectToBacking:(NSRect)bounds;
|
||||||
@end
|
@end
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user