https://bugs.kde.org/show_bug.cgi?id=486085

Albert Astals Cid <aa...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/game
                   |                            |s/kubrick/-/commit/e38e5a05
                   |                            |16088026b071eb2c2a1b6e56ed0
                   |                            |0136e
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED
   Version Fixed In|                            |1.1.24050

--- Comment #2 from Albert Astals Cid <aa...@kde.org> ---
Git commit e38e5a0516088026b071eb2c2a1b6e56ed00136e by Albert Astals Cid, on
behalf of Friedrich W. H. Kossebau.
Committed on 28/04/2024 at 09:14.
Pushed by aacid into branch 'master'.

Fix transparent rendering of the cube

QOpenGLWidget::paintGL() docs hints that only certain things are reset,
which does not include the blending.

So any blending functions set are just by chance, and some recent changes
in Qt code might now leave other state behind.
E.g. the last thing Kubrick's code does is painting the labels, and
QPainter font rendering sets the blending src/dest pair to
GL_CONSTANT_COLOR, GL_ONE_MINUS_SRC_COLOR. Which then on the next
invocation of paintGL() is still set at least with Qt 6.7.0.
Resulting in undesired transparent display of the cube (and background).
FIXED-IN: 1.1.24050

M  +4    -0    src/gameglview.cpp

https://invent.kde.org/games/kubrick/-/commit/e38e5a0516088026b071eb2c2a1b6e56ed00136e

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to