Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.
C++
Remove suggestion that supportsLoD can be removed after Qt 5.7
Halla Rempt634c7c517516
diff --git a/libs/ui/opengl/kis_opengl.cpp b/libs/ui/opengl/kis_opengl.cppindex 05627961f2..e8590ff22f 100644--- a/libs/ui/opengl/kis_opengl.cpp+++ b/libs/ui/opengl/kis_opengl.cpp@@ -325,8 +325,8 @@ QString KisOpenGL::currentDriver()return QString();}-// XXX Temporary function to allow LoD on OpenGL3 without triggering-// all of the other 3.2 functionality, can be removed once we move to Qt5.7+// Check whether we can allow LoD on OpenGL3 without triggering+// all of the other 3.2 functionality.bool KisOpenGL::supportsLoD(){initialize();diff --git a/plugins/dockers/lut/ocio_display_filter_vfx2021.cpp b/plugins/dockers/lut/ocio_display_filter_vfx2021.cppindex 8fc9d7f24d..bc162474f7 100644--- a/plugins/dockers/lut/ocio_display_filter_vfx2021.cpp+++ b/plugins/dockers/lut/ocio_display_filter_vfx2021.cpp@@ -335,7 +335,6 @@ bool OcioDisplayFilter::updateShader()#endif}- // XXX This option can be removed once we move to Qt 5.7+if (KisOpenGL::supportsLoD()) {#if defined(QT_OPENGL_3)#if defined(Q_OS_MAC) && defined(QT_OPENGL_3_2)