Changeset 41835 in vbox for trunk/src/VBox/Additions/WINNT
- Timestamp:
- Jun 19, 2012 3:39:26 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/common/VBoxMPVidModes.cpp
r40842 r41835 346 346 } 347 347 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)) 349 357 { 350 358 /* host doesn't like this mode */
Note:
See TracChangeset
for help on using the changeset viewer.