Commit 92517fa3 authored by Suleyman TURKMEN's avatar Suleyman TURKMEN Committed by Alexander Alekhin

Update window.cpp

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