X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=helpers%2Fdxgisize.hpp;h=a2749ffbe642d9abd6d634f044306279daac6711;hb=HEAD;hp=3048d3fc6cfc3ad29971215676a8df19d77509be;hpb=00622a6e765a3a4fde8d0ba5cca63897647b2adf;p=apitrace diff --git a/helpers/dxgisize.hpp b/helpers/dxgisize.hpp index 3048d3f..a2749ff 100644 --- a/helpers/dxgisize.hpp +++ b/helpers/dxgisize.hpp @@ -41,6 +41,8 @@ #include +#include "os.hpp" + static size_t _calcDataSize(DXGI_FORMAT Format, UINT Width, UINT Height, UINT RowPitch, UINT Depth = 1, UINT DepthPitch = 0) {