Changeset 95106 in vbox for trunk/src/VBox/Devices/Graphics
- Timestamp:
- May 25, 2022 3:21:17 PM (3 years ago)
- svn:sync-xref-src-repo-rev:
- 151585
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Graphics/DevVGA-SVGA3d-win-dx.cpp
r95102 r95106 2618 2618 bd.ByteWidth = pMipLevel->cbSurface; 2619 2619 bd.Usage = D3D11_USAGE_DEFAULT; 2620 bd.BindFlags = D3D11_BIND_VERTEX_BUFFER 2621 | D3D11_BIND_INDEX_BUFFER; 2620 bd.BindFlags = dxBindFlags(pSurface->f.surfaceFlags); 2622 2621 2623 2622 HRESULT hr = pDevice->pDevice->CreateBuffer(&bd, pInitialData, &pBackendSurface->u.pBuffer); … … 2663 2662 bd.ByteWidth = pSurface->paMipmapLevels[0].cbSurface; 2664 2663 bd.Usage = D3D11_USAGE_DEFAULT; 2665 bd.BindFlags = dxBindFlags(pSurface->f.surfaceFlags); // D3D11_BIND_VERTEX_BUFFER | D3D11_BIND_STREAM_OUTPUT;2664 bd.BindFlags = dxBindFlags(pSurface->f.surfaceFlags); 2666 2665 bd.CPUAccessFlags = 0; /// @todo ? D3D11_CPU_ACCESS_READ; 2667 2666 bd.MiscFlags = 0;
Note:
See TracChangeset
for help on using the changeset viewer.