Changeset 35138 in vbox
- Timestamp:
- Dec 15, 2010 2:48:03 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIFrameBufferQuartz2D.cpp
r34740 r35138 382 382 // printf ("VRAM\n"); 383 383 /* Create the image copy of the framebuffer */ 384 CGDataProviderRef dp = CGDataProviderCreateWithData(NULL, aEvent->VRAM(), aEvent->b itsPerPixel() / 8 * m_width* m_height, NULL);384 CGDataProviderRef dp = CGDataProviderCreateWithData(NULL, aEvent->VRAM(), aEvent->bytesPerLine() * m_height, NULL); 385 385 m_image = CGImageCreate(m_width, m_height, 8, aEvent->bitsPerPixel(), aEvent->bytesPerLine(), cs, 386 386 kCGImageAlphaNoneSkipFirst | kCGBitmapByteOrder32Little, dp, 0, false,
Note:
See TracChangeset
for help on using the changeset viewer.