VirtualBox

Changeset 43621 in vbox


Ignore:
Timestamp:
Oct 11, 2012 3:40:07 PM (12 years ago)
Author:
vboxsync
Message:

wddm/3d: new wine: filter out dynamic flag for vertex buffer

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/VBoxD3DIf.cpp

    r43607 r43621  
    710710            IDirect3DVertexBuffer9  *pD3D9VBuf;
    711711            hr = pDevice9If->CreateVertexBuffer(pAllocation->SurfDesc.width,
    712                     vboxDDI2D3DUsage(pRc->RcDesc.fFlags),
     712                    vboxDDI2D3DUsage(pRc->RcDesc.fFlags)
     713#ifdef VBOX_WITH_NEW_WINE
     714                    & (~D3DUSAGE_DYNAMIC) /* <- avoid using dynamic to ensure wine does not switch do user buffer */
     715#endif
     716                    ,
    713717                    pRc->RcDesc.Fvf,
    714718                    vboxDDI2D3DPool(pRc->RcDesc.enmPool),
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