VirtualBox

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


Ignore:
Timestamp:
Jun 1, 2022 10:59:12 AM (3 years ago)
Author:
vboxsync
Message:

WDDM: init output buffer

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/VBoxMPWddm.cpp

    r94975 r95157  
    16511651        {
    16521652            DXGK_DRIVERCAPS *pCaps = (DXGK_DRIVERCAPS*)pQueryAdapterInfo->pOutputData;
    1653             memset(pCaps, 0, sizeof (*pCaps));
     1653            memset(pCaps, 0, pQueryAdapterInfo->OutputDataSize);
    16541654
    16551655            pCaps->HighestAcceptableAddress.LowPart = ~0UL;
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