opencv/opencv-gles.patch
Dominique Leuenberger c612742431 Accepting request 365841 from KDE:Extra
Update for opencv 3.1.0. Everything required for digikam is added and digikam is building

OBS-URL: https://build.opensuse.org/request/show/365841
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/opencv?expand=0&rev=61
2016-03-05 10:21:23 +00:00

13 lines
396 B
Diff

--- opencv-3.1.0.orig/modules/highgui/src/window_QT.cpp 2015-12-18 16:02:16.000000000 +0100
+++ opencv-3.1.0/modules/highgui/src/window_QT.cpp 2016-02-26 22:31:37.004570651 +0100
@@ -3165,7 +3165,9 @@
void OpenGlViewPort::initializeGL()
{
+#ifdef GL_PERSPECTIVE_CORRECTION_HINT
glHint(GL_PERSPECTIVE_CORRECTION_HINT, GL_NICEST);
+#endif
}
void OpenGlViewPort::resizeGL(int w, int h)