- Timestamp:
- May 16, 2014 2:37:36 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/platform/darwin/VBoxUtils-darwin-cocoa.mm
r51265 r51275 74 74 NativeNSImageRef pNSImage = ::darwinToNSImageRef(pCGImage); 75 75 CGImageRelease(pCGImage); 76 #ifdef VBOX_GUI_WITH_HIDPI 76 77 /* Apply device pixel ratio: */ 77 78 double dScaleFactor = pImage->devicePixelRatio(); … … 79 80 (CGFloat)pImage->height() / dScaleFactor }; 80 81 [pNSImage setSize:imageSize]; 82 #endif /* VBOX_GUI_WITH_HIDPI */ 81 83 /* Return result: */ 82 84 return pNSImage;
Note:
See TracChangeset
for help on using the changeset viewer.