VirtualBox

Changeset 18309 in vbox for trunk/src


Ignore:
Timestamp:
Mar 26, 2009 12:46:33 PM (16 years ago)
Author:
vboxsync
Message:

Additions/common/VbglR3Lib: if we can't contact the host then tell the guest that it likes every video mode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxGuestLib/VBoxGuestR3LibVideo.cpp

    r13556 r18309  
    217217VBGLR3DECL(bool) VbglR3HostLikesVideoMode(uint32_t cx, uint32_t cy, uint32_t cBits)
    218218{
    219     bool fRc = false;
     219    bool fRc = true;  /* If for some reason we can't contact the host then
     220                       * we like everything. */
    220221    int rc;
    221222    VMMDevVideoModeSupportedRequest req;
     
    225226    req.height     = cy;
    226227    req.bpp        = cBits;
    227     req.fSupported = false;
     228    req.fSupported = true;
    228229    rc = vbglR3GRPerform(&req.header);
    229230    if (RT_SUCCESS(rc) && RT_SUCCESS(req.header.rc))
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