VirtualBox

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


Ignore:
Timestamp:
Nov 17, 2018 10:25:07 AM (6 years ago)
Author:
vboxsync
Message:

WDDM: additional check

File:
1 edited

Legend:

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

    r75445 r75545  
    54915491
    54925492#ifdef VBOX_WITH_MESA3D
    5493     GaScreenDefine(pDevExt->pGa, (uint32_t)pSetVidPnSourceAddress->PrimaryAddress.QuadPart,
    5494                    pSetVidPnSourceAddress->VidPnSourceId,
    5495                    pSource->AllocData.SurfDesc.width, pSource->AllocData.SurfDesc.height);
     5493    if (pDevExt->enmHwType == VBOXVIDEO_HWTYPE_VMSVGA)
     5494    {
     5495        GaScreenDefine(pDevExt->pGa, (uint32_t)pSetVidPnSourceAddress->PrimaryAddress.QuadPart,
     5496                       pSetVidPnSourceAddress->VidPnSourceId,
     5497                       pSource->AllocData.SurfDesc.width, pSource->AllocData.SurfDesc.height);
     5498    }
    54965499#endif
    54975500
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