Commit b56b3739 authored by Alexander Alekhin's avatar Alexander Alekhin

Merge pull request #2224 from Nuzhny007:master

parents 54e75b4a 8f7e58ab
......@@ -63,7 +63,7 @@ void cv::superres::SuperResolution::nextFrame(OutputArray frame)
{
CV_INSTRUMENT_REGION();
isUmat_ = frame.isUMat();
isUmat_ = frame.isUMat() && cv::ocl::useOpenCL();
if (firstCall_)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment