Changeset 35615 in vbox
- Timestamp:
- Jan 18, 2011 2:48:41 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIFrameBufferQuartz2D.cpp
r35281 r35615 399 399 int bitmapBytesPerRow = m_width * 4; 400 400 int bitmapByteCount = (bitmapBytesPerRow * m_height); 401 m_pBitmapData = RTMemAlloc (bitmapByteCount);401 m_pBitmapData = RTMemAllocZ(bitmapByteCount); 402 402 CGDataProviderRef dp = CGDataProviderCreateWithData(NULL, m_pBitmapData, bitmapByteCount, NULL); 403 403 m_image = CGImageCreate(m_width, m_height, 8, 32, bitmapBytesPerRow, cs,
Note:
See TracChangeset
for help on using the changeset viewer.