From ff31f90b7e6451ecdb69fd8e9aa332ada3286ba8 Mon Sep 17 00:00:00 2001 From: SergeyIvanov87 Date: Tue, 12 Jul 2022 13:08:55 +0300 Subject: [PATCH] Fix sample WIN compilation --- modules/gapi/samples/onevpl_infer_single_roi.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/gapi/samples/onevpl_infer_single_roi.cpp b/modules/gapi/samples/onevpl_infer_single_roi.cpp index ff080aceec..0b330b383d 100644 --- a/modules/gapi/samples/onevpl_infer_single_roi.cpp +++ b/modules/gapi/samples/onevpl_infer_single_roi.cpp @@ -16,6 +16,7 @@ #ifdef HAVE_INF_ENGINE #include // ParamMap +#endif // HAVE_INF_ENGINE #ifdef HAVE_DIRECTX #ifdef HAVE_D3D11 @@ -29,10 +30,8 @@ #pragma comment(lib, "dxgi") #undef NOMINMAX #undef D3D11_NO_HELPERS - #endif // HAVE_D3D11 #endif // HAVE_DIRECTX -#endif // HAVE_INF_ENGINE #ifdef __linux__ #if defined(HAVE_VA) || defined(HAVE_VA_INTEL)