(tab to space) 2x

pull/903/head
alex77git 12 years ago
parent bc59428b3a
commit c8abaea368
  1. 4
      modules/highgui/src/window.cpp

@ -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);

Loading…
Cancel
Save