Changeset 54598 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Mar 3, 2015 11:58:46 AM (10 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/VBoxFBOverlay.cpp
r53964 r54598 3786 3786 3787 3787 /* check if we support the pixel format and can use the guest VRAM directly */ 3788 if (size.pixelFormat() == BitmapFormat_BGR)3788 if (size.pixelFormat() == KBitmapFormat_BGR) 3789 3789 { 3790 3790 -
trunk/src/VBox/Frontends/VirtualBox/src/VBoxFBOverlay.h
r54590 r54598 271 271 { 272 272 case GL_BGRA_EXT: 273 return BitmapFormat_BGR;273 return KBitmapFormat_BGR; 274 274 } 275 275 } -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIFrameBuffer.cpp
r54590 r54598 108 108 ulong bytesPerLine() const { return m_image.bytesPerLine(); } 109 109 /** Returns default frame-buffer pixel-format. */ 110 ulong pixelFormat() const { return BitmapFormat_BGR; }110 ulong pixelFormat() const { return KBitmapFormat_BGR; } 111 111 /** Returns the visual-state this frame-buffer is used for. */ 112 112 UIVisualStateType visualState() const { return m_pMachineView ? m_pMachineView->visualStateType() : UIVisualStateType_Invalid; }
Note:
See TracChangeset
for help on using the changeset viewer.