1
0
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:
Vladislav Vinogradov
2013-04-18 10:11:14 +04:00
parent f375c86dfb
commit 033dd77504
7 changed files with 40 additions and 10 deletions
+1 -1
View File
@@ -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");