mirror of
https://github.com/opencv/opencv.git
synced 2026-07-28 23:03:03 +04:00
superres module fixes
This commit is contained in:
@@ -177,7 +177,7 @@ namespace
|
||||
switch (src.kind())
|
||||
{
|
||||
case _InputArray::GPU_MAT:
|
||||
#ifdef HAVE_OPENCV_GPU
|
||||
#ifdef HAVE_OPENCV_GPUIMGPROC
|
||||
gpu::cvtColor(src.getGpuMat(), dst.getGpuMatRef(), code, cn);
|
||||
#else
|
||||
CV_Error(cv::Error::StsNotImplemented, "The called functionality is disabled for current build or platform");
|
||||
|
||||
Reference in New Issue
Block a user