VirtualBox

Changeset 54598 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Mar 3, 2015 11:58:46 AM (10 years ago)
Author:
vboxsync
Message:

FE/Qt: Fix for r95260.

Location:
trunk/src/VBox/Frontends/VirtualBox/src
Files:
3 edited

Legend:

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

    r53964 r54598  
    37863786
    37873787    /* 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)
    37893789    {
    37903790
  • trunk/src/VBox/Frontends/VirtualBox/src/VBoxFBOverlay.h

    r54590 r54598  
    271271            {
    272272                case GL_BGRA_EXT:
    273                     return BitmapFormat_BGR;
     273                    return KBitmapFormat_BGR;
    274274            }
    275275        }
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIFrameBuffer.cpp

    r54590 r54598  
    108108    ulong bytesPerLine() const { return m_image.bytesPerLine(); }
    109109    /** Returns default frame-buffer pixel-format. */
    110     ulong pixelFormat() const { return BitmapFormat_BGR; }
     110    ulong pixelFormat() const { return KBitmapFormat_BGR; }
    111111    /** Returns the visual-state this frame-buffer is used for. */
    112112    UIVisualStateType visualState() const { return m_pMachineView ? m_pMachineView->visualStateType() : UIVisualStateType_Invalid; }
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