From a86c100e6915790d6ca0732768c1709020f9f449 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Du=C5=A1an=20Poizl?= Date: Sun, 22 Dec 2024 12:19:34 +0100 Subject: [PATCH] Fix issue with Qt 6.8 --- imagewidget.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/imagewidget.cpp b/imagewidget.cpp index 1b0849c..0a5ab5a 100644 --- a/imagewidget.cpp +++ b/imagewidget.cpp @@ -497,6 +497,7 @@ void ImageWidgetGL::paintGL() QBrush highlight = style()->standardPalette().highlight(); f->glClear(GL_COLOR_BUFFER_BIT); + f->glBlendFunc(GL_ONE, GL_ZERO); if(m_showThumbnails) { m_vaoThumb->bind();