VirtualBox

Changeset 46851 in vbox for trunk/src/VBox/Additions/WINNT


Ignore:
Timestamp:
Jun 27, 2013 4:55:20 PM (12 years ago)
Author:
vboxsync
Message:

ga/win/graphics: fix win version support

Location:
trunk/src/VBox/Additions/WINNT/Graphics/Video/mp
Files:
4 edited

Legend:

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

    r44529 r46851  
    6262    if(major == 6)
    6363    {
    64         if (minor == 2)
     64        if (minor == 3)
     65            s_WinVersion = WIN8_1;
     66        else if (minor == 2)
    6567            s_WinVersion = WIN8;
    6668        else if (minor == 1)
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/common/VBoxMPUtils.h

    r44529 r46851  
    9494    WINVISTA  = 4,
    9595    WIN7      = 5,
    96     WIN8      = 6
     96    WIN8      = 6,
     97    WIN8_1    = 7
    9798} vboxWinVersion_t;
    9899
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/common/VBoxMPVidModes.cpp

    r45037 r46851  
    357357                     * if the framebuffer window requires scrolling to fit the guest resolution.
    358358                     * So add 1024x768 resolution for win8 guest to allow user switch to it */
    359                     (VBoxQueryWinVersion() != WIN8 || resolutionMatrix[resIndex].xRes != 1024 || resolutionMatrix[resIndex].yRes != 768) &&
     359                    ((VBoxQueryWinVersion() != WIN8 && VBoxQueryWinVersion() != WIN8_1) || resolutionMatrix[resIndex].xRes != 1024 || resolutionMatrix[resIndex].yRes != 768) &&
    360360#endif
    361361                    !VBoxLikesVideoMode(iDisplay, resolutionMatrix[resIndex].xRes, resolutionMatrix[resIndex].yRes - yOffset, bitsPerPixel))
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/VBoxMPMisc.cpp

    r46757 r46851  
    619619    else
    620620    {
    621         Assert(ver == WIN7 || ver == WIN8);
     621        Assert(ver == WIN7 || ver == WIN8 || ver == WIN8_1);
    622622        pKeyPrefix = VBOXWDDM_REG_DISPLAYSETTINGSKEY_PREFIX_WIN7;
    623623        cbKeyPrefix = sizeof (VBOXWDDM_REG_DISPLAYSETTINGSKEY_PREFIX_WIN7);
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