93271feb41
Update to 4.1.1 OBS-URL: https://build.opensuse.org/request/show/722304 OBS-URL: https://build.opensuse.org/package/show/science/opencv?expand=0&rev=2
15 lines
442 B
Diff
15 lines
442 B
Diff
diff --git a/modules/highgui/src/window_QT.cpp b/modules/highgui/src/window_QT.cpp
|
|
index 9425c7b..9e3c156 100644
|
|
--- a/modules/highgui/src/window_QT.cpp
|
|
+++ b/modules/highgui/src/window_QT.cpp
|
|
@@ -3225,7 +3225,9 @@ void OpenGlViewPort::updateGl()
|
|
|
|
void OpenGlViewPort::initializeGL()
|
|
{
|
|
+#ifdef GL_PERSPECTIVE_CORRECTION_HINT
|
|
glHint(GL_PERSPECTIVE_CORRECTION_HINT, GL_NICEST);
|
|
+#endif
|
|
}
|
|
|
|
void OpenGlViewPort::resizeGL(int w, int h)
|