return 0;
}
+ if (pDstBox) {
+ Width = pDstBox->right - pDstBox->left;
+ Height = pDstBox->bottom - pDstBox->top;
+ Depth = pDstBox->back - pDstBox->front;
+ }
+
return _calcMipDataSize(MipLevel, Format, Width, Height, SrcRowPitch, Depth, SrcDepthPitch);
}
return 0;
}
+ if (pDstBox) {
+ Width = pDstBox->right - pDstBox->left;
+ Height = pDstBox->bottom - pDstBox->top;
+ Depth = pDstBox->back - pDstBox->front;
+ }
+
return _calcMipDataSize(MipLevel, Format, Width, Height, SrcRowPitch, Depth, SrcDepthPitch);
}