Commit c35c5a47 authored by Alexander Alekhin's avatar Alexander Alekhin

Merge pull request #12475 from sturkmen72:patch-1

parents 17cc21c9 92517fa3
......@@ -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
......
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