pull/13480/head
Dmitry Budnikov 6 years ago
parent e093a19c70
commit eedd7bfd50
  1. 2
      modules/gapi/src/backends/ocl/goclbackend.cpp

@ -102,7 +102,7 @@ cv::gimpl::GOCLExecutable::GOCLExecutable(const ade::Graph &g,
{
const auto mat_desc = util::get<cv::GMatDesc>(desc.meta);
const auto type = CV_MAKETYPE(mat_desc.depth, mat_desc.chan);
m_res.slot<cv::UMat>()[desc.rc].create(mat_desc.size.width, mat_desc.size.height, type);
m_res.slot<cv::UMat>()[desc.rc].create(mat_desc.size.height, mat_desc.size.width, type);
}
break;
}

Loading…
Cancel
Save