VirtualBox

Changeset 51275 in vbox for trunk/src


Ignore:
Timestamp:
May 16, 2014 2:37:36 PM (11 years ago)
Author:
vboxsync
Message:

FE/Qt: Mac OS X: VBOX_OSE: Build-fix for r93725.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/platform/darwin/VBoxUtils-darwin-cocoa.mm

    r51265 r51275  
    7474    NativeNSImageRef pNSImage = ::darwinToNSImageRef(pCGImage);
    7575    CGImageRelease(pCGImage);
     76#ifdef VBOX_GUI_WITH_HIDPI
    7677    /* Apply device pixel ratio: */
    7778    double dScaleFactor = pImage->devicePixelRatio();
     
    7980                         (CGFloat)pImage->height() / dScaleFactor };
    8081    [pNSImage setSize:imageSize];
     82#endif /* VBOX_GUI_WITH_HIDPI */
    8183    /* Return result: */
    8284    return pNSImage;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette