VirtualBox

Ignore:
Timestamp:
Oct 11, 2012 7:09:51 AM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
81313
Message:

wddm/3d: d3d width in SurfDesc to make it properly propagated to OpenResource

File:
1 edited

Legend:

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

    r43360 r43607  
    483483                {
    484484                    hr = pDevice->pAdapter->D3D.D3D.pfnVBoxWineExD3DDev9CreateCubeTexture((IDirect3DDevice9Ex *)pDevice9If,
    485                                                 pAllocation->D3DWidth,
     485                                                pAllocation->SurfDesc.d3dWidth,
    486486                                                VBOXDISP_CUBEMAP_LEVELS_COUNT(pRc),
    487487                                                vboxDDI2D3DUsage(pRc->RcDesc.fFlags),
     
    503503            {
    504504                hr = pDevice->pAdapter->D3D.D3D.pfnVBoxWineExD3DDev9CreateVolumeTexture((IDirect3DDevice9Ex *)pDevice9If,
    505                                             pAllocation->D3DWidth,
     505                                            pAllocation->SurfDesc.d3dWidth,
    506506                                            pAllocation->SurfDesc.height,
    507507                                            pAllocation->SurfDesc.depth,
     
    524524            {
    525525                hr = pDevice->pAdapter->D3D.D3D.pfnVBoxWineExD3DDev9CreateTexture((IDirect3DDevice9Ex *)pDevice9If,
    526                                             pAllocation->D3DWidth,
     526                                            pAllocation->SurfDesc.d3dWidth,
    527527                                            pAllocation->SurfDesc.height,
    528528                                            pRc->cAllocations,
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette