From fac99de7eca11614addc5ed320011792823868a8 Mon Sep 17 00:00:00 2001 From: Andrey Kamaev Date: Fri, 5 Dec 2014 14:06:01 +0300 Subject: [PATCH] It turns opengl gheck is not needed for win ctrl+s --- modules/highgui/src/window_w32.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/modules/highgui/src/window_w32.cpp b/modules/highgui/src/window_w32.cpp index 6b692e0d27..69d3907221 100644 --- a/modules/highgui/src/window_w32.cpp +++ b/modules/highgui/src/window_w32.cpp @@ -1840,7 +1840,6 @@ cvDestroyAllWindows(void) static void showSaveDialog(CvWindow* window) { -#ifndef HAVE_OPENGL if (!window || !window->image) return; @@ -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::imwrite(szFileName, tmp); } -#else - (void)window; -#endif // HAVE_OPENGL } CV_IMPL int