Details
-
Bug
-
Resolution: Done
-
P2: Important
-
6.3.2
-
None
-
-
2afb9fe157 (qt/qtdeclarative/dev) 2afb9fe157 (qt/tqtc-qtdeclarative/dev) 74e7f9ccc5 (qt/qtdeclarative/6.3) 74e7f9ccc5 (qt/tqtc-qtdeclarative/6.3) 86a45ca998 (qt/tqtc-qtdeclarative/6.2) a8b6da52e5 (qt/qtdeclarative/6.4)
Description
You find wrong static_casts in the various updateUniformData and updateSampledImage methods of the Rhi Shaders in qquickshapegenericrenderer.cpp.
In QQuickShapeRadialGradientRhiShader it should be QQuickShapeRadialGradientMaterial and in QQuickShapeConicalGradientRhiShader it should be QQuickShapeConicalGradientMaterial - instead of QQuickShapeLinearGradientMaterial.
As all materials classes have the layout it should be no crashes caused by the bad casts - so I would give a low priority.