X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=helpers%2Fdxgisize.hpp;h=a2749ffbe642d9abd6d634f044306279daac6711;hb=af366b25cb9db606ec37069119b428fb9be4a163;hp=3048d3fc6cfc3ad29971215676a8df19d77509be;hpb=2b46364c974c95b8e2568f1e3f13e888c46c9d04;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) {