VirtualBox

Ignore:
Timestamp:
Jun 19, 2012 3:39:26 PM (13 years ago)
Author:
vboxsync
Message:

wddm: always allow 1024x768 resolution for win8

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/common/VBoxMPVidModes.cpp

    r40842 r41835  
    346346            }
    347347
    348             if (!VBoxLikesVideoMode(iDisplay, resolutionMatrix[resIndex].xRes, resolutionMatrix[resIndex].yRes - yOffset, bitsPerPixel))
     348            if (
     349#ifdef VBOX_WDDM_MINIPORT
     350                    /* 1024x768 resolution is a minimal resolutions for win8 to make most metro apps run.
     351                     * For small host display resolutions, host will dislike the mode 1024x768 and above
     352                     * if the framebuffer window requires scrolling to fit the guest resolution.
     353                     * So add 1024x768 resolution for win8 guest to allow user switch to it */
     354                    (VBoxQueryWinVersion() != WIN8 || resolutionMatrix[resIndex].xRes != 1024 || resolutionMatrix[resIndex].yRes != 768) &&
     355#endif
     356                    !VBoxLikesVideoMode(iDisplay, resolutionMatrix[resIndex].xRes, resolutionMatrix[resIndex].yRes - yOffset, bitsPerPixel))
    349357            {
    350358                /* host doesn't like this mode */
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