Commit c8abaea3 authored by alex77git's avatar alex77git

(tab to space) 2x

parent bc59428b
...@@ -259,11 +259,11 @@ void cv::imshow( const string& winname, InputArray _img ) ...@@ -259,11 +259,11 @@ void cv::imshow( const string& winname, InputArray _img )
const Size size = _img.size(); const Size size = _img.size();
#ifndef HAVE_OPENGL #ifndef HAVE_OPENGL
CV_Assert(size.width>0 && size.height>0); CV_Assert(size.width>0 && size.height>0);
{ {
Mat img = _img.getMat(); Mat img = _img.getMat();
CvMat c_img = img; CvMat c_img = img;
cvShowImage(winname.c_str(), &c_img); cvShowImage(winname.c_str(), &c_img);
} }
#else #else
const double useGl = getWindowProperty(winname, WND_PROP_OPENGL); const double useGl = getWindowProperty(winname, WND_PROP_OPENGL);
CV_Assert(size.width>0 && size.height>0); CV_Assert(size.width>0 && size.height>0);
......
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