Changeset 95589 in vbox
- Timestamp:
- Jul 11, 2022 2:16:05 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Graphics/DevVGA-SVGA3d-win.cpp
r95232 r95589 1544 1544 } 1545 1545 1546 Assert(pSurfaceSrc->enmD3DResType != VMSVGA3D_D3DRESTYPE_VOLUME_TEXTURE); /// @todo 1547 Assert(pSurfaceDest->enmD3DResType != VMSVGA3D_D3DRESTYPE_VOLUME_TEXTURE); /// @todo 1546 AssertReturn(pSurfaceSrc->enmD3DResType != VMSVGA3D_D3DRESTYPE_VOLUME_TEXTURE, VERR_NOT_IMPLEMENTED); /// @todo 1547 AssertReturn(pSurfaceDest->enmD3DResType != VMSVGA3D_D3DRESTYPE_VOLUME_TEXTURE, VERR_NOT_IMPLEMENTED); /// @todo 1548 1549 /* Surface copy only makes sense between surfaces with identical layout. */ 1550 AssertReturn(pSurfaceSrc->cbBlock == pSurfaceDest->cbBlock, VERR_INVALID_PARAMETER); 1551 AssertReturn(pSurfaceSrc->cxBlock == pSurfaceDest->cxBlock, VERR_INVALID_PARAMETER); 1552 AssertReturn(pSurfaceSrc->cyBlock == pSurfaceDest->cyBlock, VERR_INVALID_PARAMETER); 1548 1553 1549 1554 if ( pSurfaceSrc->u.pSurface … … 1759 1764 1760 1765 Assert(!clipBox.srcz && !clipBox.z); 1761 Assert(pSurfaceSrc->cbBlock == pSurfaceDest->cbBlock);1762 Assert(pSurfaceSrc->cxBlock == pSurfaceDest->cxBlock);1763 Assert(pSurfaceSrc->cyBlock == pSurfaceDest->cyBlock);1764 1766 1765 1767 uint32_t cBlocksX = (clipBox.w + pSurfaceSrc->cxBlock - 1) / pSurfaceSrc->cxBlock;
Note:
See TracChangeset
for help on using the changeset viewer.