mirror of
https://github.com/opencv/opencv.git
synced 2025-06-17 07:10:51 +08:00
Merge pull request #12475 from sturkmen72:patch-1
This commit is contained in:
commit
c35c5a47df
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user