mirror of
https://github.com/opencv/opencv.git
synced 2024-11-24 19:20:28 +08:00
Update window.cpp
This commit is contained in:
parent
87ed12b8f3
commit
92517fa359
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user