VirtualBox

Changeset 35615 in vbox


Ignore:
Timestamp:
Jan 18, 2011 2:48:41 PM (14 years ago)
Author:
vboxsync
Message:

FE/Qt4-OSX: follow up to r69510

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIFrameBufferQuartz2D.cpp

    r35281 r35615  
    399399        int bitmapBytesPerRow = m_width * 4;
    400400        int bitmapByteCount = (bitmapBytesPerRow * m_height);
    401         m_pBitmapData = RTMemAlloc(bitmapByteCount);
     401        m_pBitmapData = RTMemAllocZ(bitmapByteCount);
    402402        CGDataProviderRef dp = CGDataProviderCreateWithData(NULL, m_pBitmapData, bitmapByteCount, NULL);
    403403        m_image = CGImageCreate(m_width, m_height, 8, 32, bitmapBytesPerRow, cs,
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