Update window.cpp

This commit is contained in:
Suleyman TURKMEN 2018-09-09 17:49:09 +03:00 committed by Alexander Alekhin
parent 87ed12b8f3
commit 92517fa359

View File

@ -366,7 +366,7 @@ void cv::imshow( const String& winname, InputArray _img )
if (useGl <= 0)
{
Mat img = _img.getMat();
CvMat c_img = img;
CvMat c_img = cvMat(img);
cvShowImage(winname.c_str(), &c_img);
}
else