VirtualBox

Ignore:
Timestamp:
Apr 5, 2010 6:39:38 PM (15 years ago)
Author:
vboxsync
Message:

wddm: more impl for guest autoresize support

Location:
trunk/src/VBox/Additions/WINNT/Graphics/Miniport
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Miniport/VBoxVideo.cpp

    r27984 r27988  
    12771277    {
    12781278        VIDEO_MODE_INFORMATION *pCur = &pAllModes[i];
    1279         if (pResolution->cx == pAllModes[iPreferrableMode].VisScreenWidth
    1280                         && pResolution->cy == pAllModes[iPreferrableMode].VisScreenHeight)
     1279        if (pResolution->cx == pAllModes[i].VisScreenWidth
     1280                        && pResolution->cy == pAllModes[i].VisScreenHeight)
    12811281        {
    12821282            if (pModes && cModes > cFound)
    1283             {
    12841283                memcpy(&pModes[cFound], pCur, sizeof (VIDEO_MODE_INFORMATION));
    1285                 ++pModes;
    1286             }
    12871284            else
    12881285                Status = STATUS_BUFFER_TOO_SMALL;
  • trunk/src/VBox/Additions/WINNT/Graphics/Miniport/wddm/VBoxVideoWddm.cpp

    r27984 r27988  
    24282428    bool bFreeModes = false;
    24292429    VBoxWddmGetModesTable(pDevExt, /* PDEVICE_EXTENSION DeviceExtension */
    2430             false, /* bool bRebuildTable*/
     2430            true, /* bool bRebuildTable*/
    24312431            &pModes, /* VIDEO_MODE_INFORMATION ** ppModes*/
    24322432            &cModes, /* uint32_t * pcModes */
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