From 1ae2320e09ee8f01c41f4b6d5e63efa51871116b Mon Sep 17 00:00:00 2001 From: masa-iwm Date: Thu, 3 Mar 2022 07:21:53 +0900 Subject: [PATCH] bugfix convertFromD3D11Texture2D --- modules/core/src/directx.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/core/src/directx.cpp b/modules/core/src/directx.cpp index 2dbc3e2763..7b423cc29f 100644 --- a/modules/core/src/directx.cpp +++ b/modules/core/src/directx.cpp @@ -1385,6 +1385,7 @@ void convertFromD3D11Texture2D(ID3D11Texture2D* pD3D11Texture2D, OutputArray dst OpenCL_D3D11_NV* impl_nv = ctx.getUserContext().get(); if (impl_nv) { __convertFromD3D11Texture2DNV(pD3D11Texture2D,dst); + return; } #endif OpenCL_D3D11* impl = ctx.getUserContext().get();