Fix issue with Qt 6.8

This commit is contained in:
2024-12-22 12:19:34 +01:00
parent 45ee9b7258
commit a86c100e69
+1
View File
@@ -497,6 +497,7 @@ void ImageWidgetGL::paintGL()
QBrush highlight = style()->standardPalette().highlight(); QBrush highlight = style()->standardPalette().highlight();
f->glClear(GL_COLOR_BUFFER_BIT); f->glClear(GL_COLOR_BUFFER_BIT);
f->glBlendFunc(GL_ONE, GL_ZERO);
if(m_showThumbnails) if(m_showThumbnails)
{ {
m_vaoThumb->bind(); m_vaoThumb->bind();