Skip to content

Commit b56b373

Browse files
committed
Merge pull request #2224 from Nuzhny007:master
2 parents 54e75b4 + 8f7e58a commit b56b373

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/superres/src/super_resolution.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ void cv::superres::SuperResolution::nextFrame(OutputArray frame)
6363
{
6464
CV_INSTRUMENT_REGION();
6565

66-
isUmat_ = frame.isUMat();
66+
isUmat_ = frame.isUMat() && cv::ocl::useOpenCL();
6767

6868
if (firstCall_)
6969
{

0 commit comments

Comments
 (0)