Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-106824

Bad casts in qquickshapegenericrenderer.cpp

    XMLWordPrintable

Details

    • All
    • 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.

      Attachments

        Activity

          People

            lagocs Laszlo Agocs
            uwe Uwe Rathmann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: