Commit fac99de7 authored by Andrey Kamaev's avatar Andrey Kamaev

It turns opengl gheck is not needed for win ctrl+s

parent be5c9103
...@@ -1840,7 +1840,6 @@ cvDestroyAllWindows(void) ...@@ -1840,7 +1840,6 @@ cvDestroyAllWindows(void)
static void showSaveDialog(CvWindow* window) static void showSaveDialog(CvWindow* window)
{ {
#ifndef HAVE_OPENGL
if (!window || !window->image) if (!window || !window->image)
return; return;
...@@ -1884,9 +1883,6 @@ static void showSaveDialog(CvWindow* window) ...@@ -1884,9 +1883,6 @@ static void showSaveDialog(CvWindow* window)
cv::Mat tmp; cv::flip(cv::Mat(sz.cy, sz.cx, CV_8UC(channels), data), tmp, 0); cv::Mat tmp; cv::flip(cv::Mat(sz.cy, sz.cx, CV_8UC(channels), data), tmp, 0);
cv::imwrite(szFileName, tmp); cv::imwrite(szFileName, tmp);
} }
#else
(void)window;
#endif // HAVE_OPENGL
} }
CV_IMPL int CV_IMPL int
......
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